2017-08-23 13:38:25 +00:00

30 lines
587 B
Makefile

# $OpenBSD: Makefile,v 1.22 2017/08/23 13:38:25 sthen Exp $
COMMENT = create PDF documents with perl
MODULES = cpan
PKG_ARCH = *
DISTNAME = PDF-API2-2.033
CATEGORIES = textproc
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
RUN_DEPENDS = textproc/p5-Font-TTF
TEST_DEPENDS = devel/p5-Test-Memory-Cycle
MODCPAN_EXAMPLES = Yes
MODCPAN_EXAMPLES_DIST = contrib
pre-patch:
sed -i 's,^#!.*bin/perl,#!/usr/bin/perl,' ${WRKSRC}/contrib/*
post-install:
${MODCPAN_POST_INSTALL}
chmod ${BINMODE} ${MODCPAN_EXAMPLES_DIR}/*
.include <bsd.port.mk>