2004-04-06 01:31:21 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: dprog
|
|
|
|
# Date created: Apr 6, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dprog
|
|
|
|
PORTVERSION= 0.3.1
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 2
|
2004-04-06 01:31:21 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.daimi.au.dk/~mailund/dprog/download/
|
|
|
|
|
2007-03-27 22:12:03 +00:00
|
|
|
MAINTAINER= stas@FreeBSD.org
|
2004-04-06 01:31:21 +00:00
|
|
|
COMMENT= A language for specifying dynamic programming algorithms
|
|
|
|
|
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2006-07-21 21:14:24 +00:00
|
|
|
OPTIONS= EMACS "Install emacs syntax files" on
|
2004-04-06 01:31:21 +00:00
|
|
|
|
2006-07-21 21:14:24 +00:00
|
|
|
.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>
|