diff options
author | rafan <rafan@FreeBSD.org> | 2006-07-21 21:14:24 +0000 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-07-21 21:14:24 +0000 |
commit | f4c667f42a46be0da69def33eff2f1836c77a12a (patch) | |
tree | 5b3803fb912c60390948793e2b1cc19788b851b2 /devel/dprog | |
parent | a808d25ae6691225b56dd40ffb18413dc5446a70 (diff) | |
download | FreeBSD-ports-f4c667f42a46be0da69def33eff2f1836c77a12a.zip FreeBSD-ports-f4c667f42a46be0da69def33eff2f1836c77a12a.tar.gz |
- Install EMACS files, can be turned off via OPTIONS
- Pass maintainership to submitter
PR: ports/100686
Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
Diffstat (limited to 'devel/dprog')
-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 a192485..c1a7ba0 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 0000000..188e880 --- /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%% |