diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-21 21:14:24 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-21 21:14:24 +0000 |
commit | e4e36e416b404462aeeb8365ac224522705af9d0 (patch) | |
tree | f71f3ffa2c86d029125c5f82e2f6d82873067909 /devel | |
parent | fd8f0d2a1daaf1d6b48f293d10909552aa47d36f (diff) | |
download | ports-e4e36e416b404462aeeb8365ac224522705af9d0.tar.gz ports-e4e36e416b404462aeeb8365ac224522705af9d0.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/dprog/Makefile | 21 | ||||
-rw-r--r-- | devel/dprog/pkg-plist | 8 |
2 files changed, 26 insertions, 3 deletions
diff --git a/devel/dprog/Makefile b/devel/dprog/Makefile index a192485c0360..c1a7ba00a934 100644 --- a/devel/dprog/Makefile +++ b/devel/dprog/Makefile @@ -8,10 +8,11 @@ PORTNAME= dprog PORTVERSION= 0.3.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.daimi.au.dk/~mailund/dprog/download/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ssedov@mbsd.msk.ru COMMENT= A language for specifying dynamic programming algorithms LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt @@ -20,6 +21,20 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -PLIST_FILES= bin/dprog include/cxx_dprog.hh lib/libcxx_dprog.a +OPTIONS= EMACS "Install emacs syntax files" on -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_EMACS) +PLIST_SUB+= EMACS="" +.else +PLIST_SUB+= EMACS="@comment " +.endif + +post-install: +.if !defined(WITHOUT_EMACS) + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/elisp/*.el ${DATADIR} +.endif + +.include <bsd.port.post.mk> diff --git a/devel/dprog/pkg-plist b/devel/dprog/pkg-plist new file mode 100644 index 000000000000..188e880eac51 --- /dev/null +++ b/devel/dprog/pkg-plist @@ -0,0 +1,8 @@ +bin/dprog +include/cxx_dprog.hh +lib/libcxx_dprog.a +%%EMACS%%%%DATADIR%%/dprog-constants.el +%%EMACS%%%%DATADIR%%/dprog-font-lock.el +%%EMACS%%%%DATADIR%%/dprog-indent.el +%%EMACS%%%%DATADIR%%/dprog.el +%%EMACS%%@dirrmtry %%DATADIR%% |