mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
40 lines
969 B
Makefile
40 lines
969 B
Makefile
# New ports collection makefile for: xpp
|
|
# Date created: 23 Mar 2007
|
|
# Whom: Nate Lawson <njl@freebsd.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xpp
|
|
PORTVERSION= 1.5
|
|
PORTREVISION= 2
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= cups
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@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
|
|
|
|
PLIST_FILES= bin/xpp share/doc/xpp/README
|
|
PLIST_DIRS= share/doc/xpp
|
|
|
|
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} ${PREFIX}/share/doc/xpp
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xpp
|
|
|
|
.include <bsd.port.mk>
|