1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/print/xpp/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

35 lines
848 B
Makefile

# Created by: Nate Lawson <njl@FreeBSD.org>
# $FreeBSD$
PORTNAME= xpp
PORTVERSION= 1.5
PORTREVISION= 11
CATEGORIES= print
MASTER_SITES= SF/cups/${PORTNAME}/${PORTVERSION}
MAINTAINER= cy@FreeBSD.org
COMMENT= X11-based printer manager for CUPS
LIB_DEPENDS= libcups.so:print/cups \
libfltk.so.1:x11-toolkits/fltk
USES= gmake tar:bzip2
GNU_CONFIGURE= yes
CFLAGS+= -D_IPP_PRIVATE_STRUCTURES
PLIST_FILES= bin/xpp share/doc/xpp/README
MAKE_JOBS_UNSAFE= yes
post-configure:
@${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/xpp
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/xpp
.include <bsd.port.mk>