diff options
author | pawel <pawel@FreeBSD.org> | 2012-06-08 06:44:21 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-06-08 06:44:21 +0800 |
commit | 2a1ebc56ba5020d2bf92961dbe81972f5a54841d (patch) | |
tree | 973987c82bdc40f9b4f7cd63831224e568aba682 /devel | |
parent | 10b52a170f1d404abc5699061d2a3cf931eeb1e5 (diff) | |
download | freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.gz freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.zst freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.zip |
Convert my ports to optionsNG
Diffstat (limited to 'devel')
-rw-r--r-- | devel/upnp/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/devel/upnp/Makefile b/devel/upnp/Makefile index 8ff426f6d96c..24ffa14bfde7 100644 --- a/devel/upnp/Makefile +++ b/devel/upnp/Makefile @@ -26,14 +26,18 @@ MAKE_JOBS_SAFE= yes CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ PTHREAD_LIBS="${PTHREAD_LIBS}" -.if defined(NOPORTDOCS) -CONFIGURE_ARGS+= --without-documentation -.else +OPTIONS_DEFINE= DEBUG + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MDOCS} CONFIGURE_ARGS+= --with-documentation=${DOCSDIR} PORTDOCS= * +.else +CONFIGURE_ARGS+= --without-documentation .endif -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+= --enable-debug .endif |