diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 09:17:03 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-06-12 09:17:03 +0000 |
commit | 36aec2ee4d4789c8cc6ad940264e1a101d8a7977 (patch) | |
tree | fadc33ad2f29c6931b7a10a46ca3d20a561a3331 /devel/dprog | |
parent | 59642d1219c0fc9ff42830b664320824c78e3a3f (diff) |
Notes
Diffstat (limited to 'devel/dprog')
-rw-r--r-- | devel/dprog/Makefile | 12 |
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> |