summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-14 21:45:09 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-02-14 21:45:09 +0000
commit4668ecfd0dc6038110d5f4b19f129f91c3bb4f97 (patch)
tree1f1dfcfc98f14a3c940532b9917d2e75b097c278 /x11-wm
parent- Add LICENSE (diff)
- Add LICENSE_FILE
- Switch to USES=localbase - Switch to options helpers
Notes
Notes: svn path=/head/; revision=408893
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/icewm/Makefile36
-rw-r--r--x11-wm/icewm/pkg-plist2
2 files changed, 10 insertions, 28 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile
index 7f915c3fea14..437eb8b09335 100644
--- a/x11-wm/icewm/Makefile
+++ b/x11-wm/icewm/Makefile
@@ -11,8 +11,9 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Window Manager designed for speed, usability and consistency
LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake iconv:translit pkgconfig
+USES= gmake iconv:translit localbase pkgconfig
USE_XORG= ice sm x11 xext
USE_GNOME= gdkpixbuf2
GNU_CONFIGURE= yes
@@ -23,9 +24,6 @@ CONFIGURE_ARGS= --enable-guievents \
--with-docdir=${PREFIX}/share/doc \
--with-mkfontdir=${NONEXISTENT}
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
OPTIONS_DEFINE= BEASTIE ESOUND GNOME LITE MENUFIX NLS XFT XINERAMA \
XRANDR DOCS
OPTIONS_DEFINE_i386= ASM
@@ -51,26 +49,9 @@ XINERAMA_USE= XORG=xinerama
XINERAMA_CONFIGURE_ENABLE= xinerama
XRANDR_USE= XORG=xrandr
XRANDR_CONFIGURE_ENABLE= xrandr
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MASM}
-CONFIGURE_ARGS+=--enable-x86-asm
-.else
-CONFIGURE_ARGS+=--disable-x86-asm
-.endif
-
-.if ${PORT_OPTIONS:MBEASTIE}
-STARTUP_PIXMAP= ${DATADIR}/taskbar/bsd-daemon.xpm
-.else
-STARTUP_PIXMAP= icewm-logo.xpm
-.endif
-
-.if ${PORT_OPTIONS:MLITE}
-PLIST_SUB+= NOLITE="@comment "
-.else
-PLIST_SUB+= NOLITE=""
-.endif
+ASM_CONFIGURE_ENABLE= x86-asm
+BEASTIE_VARS= STARTUP_PIXMAP=${DATADIR}/taskbar/bsd-daemon.xpm
+BEASTIE_VARS_OFF= STARTUP_PIXMAP=icewm-logo.xpm
post-extract:
.for dir in taskbar themes/Infadel2/taskbar
@@ -99,10 +80,11 @@ post-install:
.for dir in taskbar themes/Infadel2/taskbar
@${LN} -s ${STARTUP_PIXMAP} ${STAGEDIR}${DATADIR}/${dir}/start.xpm
.endfor
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for f in CHANGES INSTALL README TODO
+.for f in CHANGES INSTALL README TODO doc/*.html
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-. endfor
- ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
+.endfor
.include <bsd.port.mk>
diff --git a/x11-wm/icewm/pkg-plist b/x11-wm/icewm/pkg-plist
index 85d077dbaf98..d582e53469bc 100644
--- a/x11-wm/icewm/pkg-plist
+++ b/x11-wm/icewm/pkg-plist
@@ -1,4 +1,4 @@
-%%NOLITE%%bin/icehelp
+%%NO_LITE%%bin/icehelp
bin/icesh
bin/icesound
bin/icewm