openbsd-ports/graphics/cfdg/Makefile
2008-09-10 20:49:03 +00:00

43 lines
970 B
Makefile

# $OpenBSD: Makefile,v 1.2 2008/09/10 20:49:03 martynas Exp $
COMMENT = Context Free Design Grammar
VERSION = 2.1
DISTNAME = ContextFreeSource${VERSION}
PKGNAME = cfdg-${VERSION}p0
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>