diff options
author | pawel <pawel@FreeBSD.org> | 2015-11-11 04:14:48 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2015-11-11 04:14:48 +0800 |
commit | 09a43d61f2390d52ac134bd32cc5acb4c6b019de (patch) | |
tree | 244cf1962e95edbe47f6632bdb2328d0dce0d44f /editors | |
parent | ce2eb7f74e823bb089c161b17b8f68fe2b26b5f1 (diff) | |
download | freebsd-ports-gnome-09a43d61f2390d52ac134bd32cc5acb4c6b019de.tar.gz freebsd-ports-gnome-09a43d61f2390d52ac134bd32cc5acb4c6b019de.tar.zst freebsd-ports-gnome-09a43d61f2390d52ac134bd32cc5acb4c6b019de.zip |
- Use options helpers
- Fix comment indentation
Submitted by: danfe
Diffstat (limited to 'editors')
-rw-r--r-- | editors/wordgrinder/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/editors/wordgrinder/Makefile b/editors/wordgrinder/Makefile index 2e88373fc0b3..d96400684679 100644 --- a/editors/wordgrinder/Makefile +++ b/editors/wordgrinder/Makefile @@ -28,8 +28,6 @@ X11_USE= xorg=x11,xft X11_USES= pkgconfig X11_ALL_TARGET_OFF=unix -.include <bsd.port.options.mk> - post-patch: ${REINPLACE_CMD} \ -e '/hide = /s/@//' \ @@ -49,18 +47,18 @@ post-patch: ${REINPLACE_CMD} \ -e '/#include <Xft/s|<|<X11/|' \ ${WRKSRC}/src/c/arch/unix/x11/x11.h -.if ! ${PORT_OPTIONS:MX11} - # This is not strictly speaking required, but it cuts - # down on some unnecessary work and error messages. + +# This is not strictly speaking required, but it cuts +# down on some unnecessary work and error messages. +post-patch-X11-off: ${REINPLACE_CMD} \ -e '/$$(eval $$(build-wordgrinder-x11))/d' \ ${WRKSRC}/Makefile -.endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wordgrinder -.if ${PORT_OPTIONS:MX11} + +post-install-X11-on: ${INSTALL_PROGRAM} ${WRKSRC}/bin/xwordgrinder ${STAGEDIR}${PREFIX}/bin -.endif .include <bsd.port.mk> |