2007-03-29 08:57:52 +00:00
|
|
|
# New ports collection makefile for: xpp
|
|
|
|
# Date created: 23 Mar 2007
|
|
|
|
# Whom: Nate Lawson <njl@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xpp
|
|
|
|
PORTVERSION= 1.5
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
2007-03-29 08:57:52 +00:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= cups
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= njl@FreeBSD.org
|
|
|
|
COMMENT= X11-based printer manager for CUPS
|
|
|
|
|
|
|
|
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base \
|
|
|
|
fltk.1:${PORTSDIR}/x11-toolkits/fltk
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2007-04-08 00:22:36 +00:00
|
|
|
PLIST_FILES= bin/xpp share/doc/xpp/README
|
|
|
|
PLIST_DIRS= share/doc/xpp
|
2007-03-29 08:57:52 +00:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|$$(all_includes)|-I ${PREFIX}/include|' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
@${REINPLACE_CMD} -e 's|CFLAGS =|CFLAGS +=|' ${WRKSRC}/Makefile
|
2007-04-08 00:11:47 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|printFiles::get|get|' ${WRKSRC}/xpp.h
|
2007-03-29 08:57:52 +00:00
|
|
|
|
2007-04-08 00:22:36 +00:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/xpp
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xpp
|
|
|
|
|
2007-03-29 08:57:52 +00:00
|
|
|
.include <bsd.port.mk>
|