43 lines
969 B
Makefile
43 lines
969 B
Makefile
|
# $OpenBSD: Makefile,v 1.1.1.1 2008/07/23 08:24:36 sthen Exp $
|
||
|
|
||
|
COMMENT = Context Free Design Grammar
|
||
|
|
||
|
VERSION = 2.1
|
||
|
DISTNAME = ContextFreeSource${VERSION}
|
||
|
PKGNAME = cfdg-${VERSION}
|
||
|
|
||
|
CATEGORIES = graphics
|
||
|
|
||
|
HOMEPAGE = http://www.contextfreeart.org/
|
||
|
|
||
|
MAINTAINER = jared r r spiegel <jrrs@ice-nine.org>
|
||
|
|
||
|
# GPLv2+
|
||
|
PERMIT_PACKAGE_CDROM = Yes
|
||
|
PERMIT_PACKAGE_FTP = Yes
|
||
|
PERMIT_DISTFILES_CDROM =Yes
|
||
|
PERMIT_DISTFILES_FTP = Yes
|
||
|
|
||
|
WANTLIB = c m png stdc++ z
|
||
|
LIB_DEPENDS = :png-*:graphics/png
|
||
|
|
||
|
MASTER_SITES = http://www.contextfreeart.org/download/
|
||
|
EXTRACT_SUFX = .tgz
|
||
|
|
||
|
USE_GMAKE = Yes
|
||
|
|
||
|
EXAMPLEDIR = ${PREFIX}/share/examples/cfdg
|
||
|
|
||
|
MAKE_ENV += CPPFLAGS="${CFLAGS} -I$(LOCALBASE)/include/libpng"
|
||
|
|
||
|
do-install:
|
||
|
${INSTALL_PROGRAM} ${WRKBUILD}/cfdg ${PREFIX}/bin
|
||
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}
|
||
|
${INSTALL_DATA_DIR} ${EXAMPLEDIR}/input
|
||
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${EXAMPLEDIR}
|
||
|
${INSTALL_DATA} ${WRKSRC}/input/* ${EXAMPLEDIR}/input
|
||
|
|
||
|
NO_REGRESS = Yes
|
||
|
|
||
|
.include <bsd.port.mk>
|