# $OpenBSD: Makefile,v 1.5 2010/11/17 08:05:13 espie Exp $ COMMENT = Context Free Design Grammar VERSION = 2.2.2 DISTNAME = ContextFreeSource${VERSION} PKGNAME = cfdg-${VERSION} CATEGORIES = graphics HOMEPAGE = http://www.contextfreeart.org/ MAINTAINER = jared r r spiegel # 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 = graphics/png MASTER_SITES = http://www.contextfreeart.org/download/ EXTRACT_SUFX = .tgz USE_GMAKE = Yes # ???? WRKDIST = ${WRKDIR}/${DISTNAME}.tgz/ 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}/input ${INSTALL_DATA} ${WRKSRC}/README.txt ${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/input/* ${EXAMPLEDIR}/input NO_REGRESS = Yes .include