aboutsummaryrefslogtreecommitdiff
path: root/devel/dprog
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 09:17:03 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 09:17:03 +0000
commit36aec2ee4d4789c8cc6ad940264e1a101d8a7977 (patch)
treefadc33ad2f29c6931b7a10a46ca3d20a561a3331 /devel/dprog
parent59642d1219c0fc9ff42830b664320824c78e3a3f (diff)
downloadports-36aec2ee4d4789c8cc6ad940264e1a101d8a7977.tar.gz
ports-36aec2ee4d4789c8cc6ad940264e1a101d8a7977.zip
Notes
Diffstat (limited to 'devel/dprog')
-rw-r--r--devel/dprog/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/devel/dprog/Makefile b/devel/dprog/Makefile
index 26c5f311fc3d..10f2f5154454 100644
--- a/devel/dprog/Makefile
+++ b/devel/dprog/Makefile
@@ -21,20 +21,22 @@ GNU_CONFIGURE= yes
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-OPTIONS= EMACS "Install emacs syntax files" on
+OPTIONS_DEFINE= EMACS
+OPTIONS_DEFAULT= EMACS
+EMACS_DESC= Install emacs syntax files
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_EMACS)
+.if ${PORT_OPTIONS:MEMACS}
PLIST_SUB+= EMACS=""
.else
PLIST_SUB+= EMACS="@comment "
.endif
post-install:
-.if !defined(WITHOUT_EMACS)
+.if ${PORT_OPTIONS:MEMACS}
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/elisp/*.el ${DATADIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>