aboutsummaryrefslogtreecommitdiff
path: root/devel/dprog/Makefile
blob: 10f2f5154454cda7c5eee68e2bb8e3e72e435c56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# ex:ts=8
# Ports collection makefile for:	dprog
# Date created:			Apr 6, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	dprog
PORTVERSION=	0.3.1
PORTREVISION=	2
CATEGORIES=	devel
MASTER_SITES=	http://www.daimi.au.dk/~mailund/dprog/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A language for specifying dynamic programming algorithms

LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt

GNU_CONFIGURE=	yes
CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	EMACS
OPTIONS_DEFAULT=	EMACS
EMACS_DESC=	Install emacs syntax files

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEMACS}
PLIST_SUB+=	EMACS=""
.else
PLIST_SUB+=	EMACS="@comment "
.endif

post-install:
.if ${PORT_OPTIONS:MEMACS}
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/elisp/*.el ${DATADIR}
.endif

.include <bsd.port.mk>