diff options
author | jgh <jgh@FreeBSD.org> | 2013-05-31 22:40:56 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-05-31 22:40:56 +0800 |
commit | 5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6 (patch) | |
tree | fd7ac6263851705bfeae2fb7d9dce6af494453c8 /games/freedink-engine | |
parent | f865d279ae89cb92e74059f7301e136a9da802d8 (diff) | |
download | freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.gz freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.tar.zst freebsd-ports-gnome-5dd3688354ed6e74ed2c8c9e6a5d41dde98c70b6.zip |
- adopt optionsNG for games
- trim historical headers and trim comments
- some Makefile cleanup
Approved by: portmgr (bapt)
Diffstat (limited to 'games/freedink-engine')
-rw-r--r-- | games/freedink-engine/Makefile | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/games/freedink-engine/Makefile b/games/freedink-engine/Makefile index b4efeb2f9113..8361250bb5b8 100644 --- a/games/freedink-engine/Makefile +++ b/games/freedink-engine/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: syncterm -# Date created: 3 October 2006 -# Whom: shurd -# +# Created by: shurd # $FreeBSD$ -# PORTNAME= freedink PORTVERSION= 1.08.${PORTVER} @@ -26,11 +22,14 @@ CONFIGURE_ARGS= --disable-static --disable-upx MAN6= freedink.6 freedinkedit.6 dink.6 dinkedit.6 -OPTIONS= EMBEDDED "Enable Embedded Resources" on +OPTIONS_DEFINE= EMBEDDED +EMBEDDED_DESC= Embedded Resources -.include <bsd.port.pre.mk> +OPTIONS_DEFAULT= EMBEDDED -.ifdef WITHOUT_EMBEDDED +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MEMBEDDED} CONFIGURE_ARGS+= --enable-embedded-resources BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip LIB_DEPENDS+= zip.3:${PORTSDIR}/archivers/libzip @@ -39,4 +38,4 @@ RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip CONFIGURE_ARGS+= --disable-embedded-resources .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |