diff options
Diffstat (limited to 'print/pup/Makefile')
-rw-r--r-- | print/pup/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/print/pup/Makefile b/print/pup/Makefile new file mode 100644 index 000000000000..cf885d39cf68 --- /dev/null +++ b/print/pup/Makefile @@ -0,0 +1,33 @@ +# 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 + +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> |