2009-05-22 09:51:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2009/05/22 13:51:08 ajacoutot Exp $
|
2009-03-17 14:37:20 -04:00
|
|
|
|
|
|
|
COMMENT= CUPS drivers for SPL printers
|
|
|
|
|
|
|
|
DISTNAME= splix-2.0.0
|
2009-05-22 09:51:08 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2009-03-17 14:37:20 -04:00
|
|
|
CATEGORIES= print
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
HOMEPAGE= http://splix.ap2c.org/
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=splix/}
|
|
|
|
|
2009-05-22 09:51:08 -04:00
|
|
|
WANTLIB += asn1 c crypto gcrypt gnutls gpg-error gssapi krb5 m
|
|
|
|
WANTLIB += pthread stdc++ z
|
2009-04-10 07:59:06 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext
|
2009-03-17 14:37:20 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS= cups.>=3,cupsimage::print/cups \
|
|
|
|
jbig.>=2::graphics/jbigkit
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
MAKE_FLAGS= V=1 \
|
|
|
|
MAKE=${MAKE_PROGRAM} \
|
|
|
|
CXX=${CXX} \
|
|
|
|
OPTIM_CXXFLAGS="${CXXFLAGS}"
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/splix
|
|
|
|
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
|
|
|
|
${PREFIX}/share/doc/splix/README.OpenBSD
|
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} \
|
|
|
|
${PREFIX}/share/doc/splix/README.OpenBSD
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|