ajacoutot a183b75553 "/usr/local/lib/pkgconfig/" is part of mtree(8).
Packages should not own this dir to prevent its deletion or a warning that it
cannot be removed because it's not empty at pkg_delete(1) time.
2015-05-22 11:31:10 +00:00

38 lines
735 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.13 2015/05/22 11:31:18 ajacoutot Exp $
COMMENT= PDF transformation and inspection utility
DISTNAME= qpdf-5.1.2
REVISION= 0
SHARED_LIBS += qpdf 2.1 # 13.0
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/}
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>