blob: 216575881f53d28978ada33604dfc12469e65257 (
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
|
# Created by: Klaus Goger <klaus.goger@reflex.at>
# $FreeBSD$
PORTNAME= pup
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
MAINTAINER= ports@FreeBSD.org
COMMENT= GTK+ printer setup and maintaining tool
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
USE_GNOME= gtk12
PLIST_FILES= bin/pup
post-patch:
@${REINPLACE_CMD} -e \
's| =| ?=| ; \
s|$$(CC) $$(SRCS)|$$(CC) $$(CFLAGS) $$(SRCS)| ; \
s|gtk-config|$$(GTK_CONFIG)|' ${WRKSRC}/Makefile
.for i in lexgui.c build_choices.c proutines.c
@${REINPLACE_CMD} -e 's|<malloc.h>|<stdlib.h>|g' ${WRKSRC}/${i}
.endfor
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} pup ${STAGEDIR}${PREFIX}/bin)
.include <bsd.port.mk>
|