aboutsummaryrefslogtreecommitdiff
path: root/devel/dprog/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-21 21:14:24 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-21 21:14:24 +0000
commite4e36e416b404462aeeb8365ac224522705af9d0 (patch)
treef71f3ffa2c86d029125c5f82e2f6d82873067909 /devel/dprog/Makefile
parentfd8f0d2a1daaf1d6b48f293d10909552aa47d36f (diff)
Notes
Diffstat (limited to 'devel/dprog/Makefile')
-rw-r--r--devel/dprog/Makefile21
1 files changed, 18 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>