37 lines
723 B
Makefile
Executable File
37 lines
723 B
Makefile
Executable File
# $OpenBSD: Makefile,v 1.12 2014/07/08 16:04:04 ajacoutot Exp $
|
|
|
|
COMMENT= PDF transformation and inspection utility
|
|
|
|
DISTNAME= qpdf-5.1.2
|
|
|
|
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>
|