blob: 5b772771bef8aa00385747e83a22a2008e2d41f9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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
CATEGORIES= print
MASTER_SITES= http://download.sourceforge.net/pup/
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= klaus.goger@reflex.at
COMMENT= A GTK+ printer setup and maintaining tool
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_REINPLACE= yes
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>
|