diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-28 21:20:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-04-28 21:20:28 +0000 |
commit | f53196ebc931edf54afe56ab65deddc4f2d5b8fb (patch) | |
tree | 17f3405d36f74dd57d11bda9e7ecc80c2929914c /emulators/gxemul/Makefile | |
parent | 02ad6b1271fd43ec6fd524c9a6957530cd83d262 (diff) |
Notes
Diffstat (limited to 'emulators/gxemul/Makefile')
-rw-r--r-- | emulators/gxemul/Makefile | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/emulators/gxemul/Makefile b/emulators/gxemul/Makefile index b6b348c4a158..6698e1c86e71 100644 --- a/emulators/gxemul/Makefile +++ b/emulators/gxemul/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: gxemul -# Date created: 15 May 2005 -# Whom: Janni -# +# Created by: Janni # $FreeBSD$ -# PORTNAME= gxemul PORTVERSION= 0.6.0 @@ -14,7 +10,8 @@ MASTER_SITES= http://gxemul.sourceforge.net/src/ \ MAINTAINER= imp@FreeBSD.org COMMENT= Instruction-level machine emulator -OPTIONS= X11 "X11 support" on +OPTIONS_DEFINE= X11 DOCS +OPTIONS_DEFAULT= X11 HAS_CONFIGURE= yes ALL_TARGET= build @@ -24,12 +21,12 @@ MAN1= gxemul.1 PORTDOCS= * PLIST_FILES= bin/gxemul -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITHOUT_X11) -CONFIGURE_ARGS+=--disable-x -.else +.if ${PORT_OPTIONS:MX11} USE_XORG= x11 +.else +CONFIGURE_ARGS+=--disable-x .endif post-patch: @@ -41,7 +38,7 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gxemul ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/man/gxemul.1 ${MAN1PREFIX}/man/man1 -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${MKDIR} -p ${DOCSDIR}/components ${MKDIR} -p ${DOCSDIR}/machines @@ -50,4 +47,4 @@ do-install: ${INSTALL_DATA} `find ${WRKSRC}/doc/ -type f -depth 1` ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |