- 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>
This commit is contained in:
Rong-En Fan 2006-07-21 21:14:24 +00:00
parent fd8f0d2a1d
commit e4e36e416b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=168434
2 changed files with 26 additions and 3 deletions

View File

@ -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>

8
devel/dprog/pkg-plist Normal file
View File

@ -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%%