mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
37 lines
896 B
Makefile
37 lines
896 B
Makefile
# New ports collection makefile for: pup Printer Utility Program
|
|
# Date created: 7 Nob 2002
|
|
# Whom: Klaus Goger <klaus.goger@reflex.at>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pup
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= print
|
|
#MASTER_SITES= http://download.sourceforge.net/pup/
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A GTK+ printer setup and maintaining tool
|
|
|
|
PLIST_FILES= bin/pup
|
|
USE_GNOME= gtk12
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}/
|
|
|
|
post-patch:
|
|
@echo ${WRKSRC}
|
|
@${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g' ${WRKSRC}/Makefile
|
|
|
|
.for file in lexgui.c build_choices.c proutines.c
|
|
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/pup ${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|