diff options
author | bapt <bapt@FreeBSD.org> | 2014-07-06 22:55:37 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-07-06 22:55:37 +0800 |
commit | 1f86a717ebfea9f29c9f34ebf4fac33a676a2cfd (patch) | |
tree | 001f585daccddff03108cbcfba6828dab7a4d00b /emulators | |
parent | 9a18d9fb3d851bc6dd6d27ef0b8fca4301aa8c3d (diff) | |
download | freebsd-ports-gnome-1f86a717ebfea9f29c9f34ebf4fac33a676a2cfd.tar.gz freebsd-ports-gnome-1f86a717ebfea9f29c9f34ebf4fac33a676a2cfd.tar.zst freebsd-ports-gnome-1f86a717ebfea9f29c9f34ebf4fac33a676a2cfd.zip |
Support stage
Use options helpers
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/gxemul/Makefile | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile index 55e8a0766b9a..5be78e39f6a3 100644 --- a/emulators/gxemul/Makefile +++ b/emulators/gxemul/Makefile @@ -18,9 +18,9 @@ HAS_CONFIGURE= yes ALL_TARGET= build MAKE_JOBS_UNSAFE= yes -MAN1= gxemul.1 PORTDOCS= * -PLIST_FILES= bin/gxemul +PLIST_FILES= bin/gxemul \ + man/man1/gxemul.1.gz USE_GCC= yes @@ -28,14 +28,8 @@ USE_GCC= yes # a virtual VGA adaptor. CONFLICTS= svgalib-[0-9]* -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MX11} -USE_XORG= x11 -.else -CONFIGURE_ARGS+=--disable-x -.endif +X11_USE= xorg=x11 +X11_CONFIGURE_OFF=--disable-x post-patch: @${REINPLACE_CMD} -Ee \ @@ -44,15 +38,12 @@ post-patch: s|-f[a-zA-Z-]+||g' ${WRKSRC}/configure do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${MKDIR} -p ${DOCSDIR}/components - ${MKDIR} -p ${DOCSDIR}/machines - ${INSTALL_DATA} ${WRKSRC}/doc/components/* ${DOCSDIR}/components - ${INSTALL_DATA} ${WRKSRC}/doc/machines/* ${DOCSDIR}/machines - ${INSTALL_DATA} `find ${WRKSRC}/doc/ -type f -depth 1` ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR}/components \ + ${STAGEDIR}${DOCSDIR}/machines + ${INSTALL_DATA} ${WRKSRC}/doc/components/* ${STAGEDIR}${DOCSDIR}/components + ${INSTALL_DATA} ${WRKSRC}/doc/machines/* ${STAGEDIR}${DOCSDIR}/machines + ${INSTALL_DATA} `find ${WRKSRC}/doc/ -type f -depth 1` ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |