openbsd-ports/print/qpdf/Makefile
2013-03-21 08:45:11 +00:00

38 lines
740 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.5 2013/03/21 08:46:35 ajacoutot Exp $
COMMENT= PDF transformation and inspection utility
DISTNAME= qpdf-4.0.1
SHARED_LIBS += qpdf 1.0 # 10.1
CATEGORIES= print graphics
HOMEPAGE= http://qpdf.sourceforge.net/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# Artistic License 2.0
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c m pcre stdc++ z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qpdf/}
VMEM_WARNING= Yes
USE_GMAKE= Yes
SUBST_VARS= MAKE_PROGRAM
LIB_DEPENDS= devel/pcre
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure
.include <bsd.port.mk>