openbsd-ports/graphics/dpic/Makefile
landry 2dafeb611f Import dpic-2011.04.19, from Anthony J. Bentley.
Dpic is a simple language, derived from pic and gpic, to produce
diagrams for LaTeX documents. It is particularly suited for easily
creating line diagrams such as electric circuits.

Some tweaks added to obey CC/CFLAGS, and install examples.
ok jasper@
2011-05-15 18:49:41 +00:00

33 lines
728 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/05/15 18:49:41 landry Exp $
COMMENT = pic-like interpreter for producing line graphics
DISTNAME = dpic-2011.04.19
CATEGORIES = graphics
HOMEPAGE = https://ece.uwaterloo.ca/~aplevich/dpic/
# 2-clause BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c m
WRKDIST = ${WRKDIR}/dpic
ALL_TARGET = dpic
MASTER_SITES = ${HOMEPAGE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dpic ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/dpic.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dpic/
cd ${WRKSRC}/examples/ && pax -rw * ${PREFIX}/share/examples/dpic/
NO_REGRESS = Yes
.include <bsd.port.mk>