38 lines
800 B
Makefile
38 lines
800 B
Makefile
# $OpenBSD: Makefile,v 1.6 2017/09/09 22:56:49 nigel Exp $
|
|
|
|
COMMENT = pic-like interpreter for producing line graphics
|
|
|
|
DISTNAME = dpic-2017.08.01
|
|
|
|
CATEGORIES = graphics
|
|
|
|
HOMEPAGE = https://ece.uwaterloo.ca/~aplevich/dpic/
|
|
|
|
# 2-clause BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c m
|
|
|
|
ALL_TARGET = dpic
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
|
|
|
|
|
TEST_DEPENDS = print/texlive/base \
|
|
print/texlive/texmf,-main
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
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 sources Examples.txt Makefile README ${PREFIX}/share/examples/dpic/
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/examples/ && \
|
|
make -e DPIC=${WRKSRC}/dpic all
|
|
|
|
.include <bsd.port.mk>
|