- Fix build with new cups

- Stage support

Reported by:	pkg-fallout
With hat:	portmgr
MFH:		2014Q2
This commit is contained in:
Antoine Brodin 2014-04-03 19:03:00 +00:00
parent 80596ca8a3
commit 4942d87e8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350041

View file

@ -10,18 +10,17 @@ MASTER_SITES= SF/cups/${PORTNAME}/${PORTVERSION}
MAINTAINER= cy@FreeBSD.org
COMMENT= X11-based printer manager for CUPS
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-client \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client \
libfltk.so.1:${PORTSDIR}/x11-toolkits/fltk
BUILD_DEPENDS= ${LOCALBASE}/sbin/cupsd:${PORTSDIR}/print/cups-base
USE_BZIP2= yes
USE_GMAKE= yes
USES= gmake tar:bzip2
GNU_CONFIGURE= yes
CFLAGS+= -D_IPP_PRIVATE_STRUCTURES
PLIST_FILES= bin/xpp share/doc/xpp/README
PLIST_DIRS= share/doc/xpp
NO_STAGE= yes
post-configure:
@${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \
${WRKSRC}/Makefile
@ -29,7 +28,7 @@ post-configure:
@${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h
post-install:
${MKDIR} ${PREFIX}/share/doc/xpp
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xpp
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xpp
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/xpp
.include <bsd.port.mk>