diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-14 21:45:09 +0000 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-02-14 21:45:09 +0000 |
commit | 573ebe7f730f4118af6b586281656f0fb14ec2e9 (patch) | |
tree | 1f1dfcfc98f14a3c940532b9917d2e75b097c278 | |
parent | 63107a6614e1e9bf6d3ce61749a4107ff413e071 (diff) | |
download | FreeBSD-ports-573ebe7f730f4118af6b586281656f0fb14ec2e9.zip FreeBSD-ports-573ebe7f730f4118af6b586281656f0fb14ec2e9.tar.gz |
- Add LICENSE_FILE
- Switch to USES=localbase
- Switch to options helpers
-rw-r--r-- | x11-wm/icewm/Makefile | 36 | ||||
-rw-r--r-- | x11-wm/icewm/pkg-plist | 2 |
2 files changed, 10 insertions, 28 deletions
diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile index 7f915c3..437eb8b 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 85d077d..d582e53 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 |