Date: Fri, 20 Dec 2013 18:57:13 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337073 - head/print/pup Message-ID: <201312201857.rBKIvD1Z088901@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Fri Dec 20 18:57:13 2013 New Revision: 337073 URL: http://svnweb.freebsd.org/changeset/ports/337073 Log: Respect CC/CFLAGS PR: ports/184877 Submitted by: KATO Tsuguru <tkato432@yahoo.com> Modified: head/print/pup/Makefile (contents, props changed) Modified: head/print/pup/Makefile ============================================================================== --- head/print/pup/Makefile Fri Dec 20 18:51:31 2013 (r337072) +++ head/print/pup/Makefile Fri Dec 20 18:57:13 2013 (r337073) @@ -5,28 +5,28 @@ PORTNAME= pup PORTVERSION= 1.1 PORTREVISION= 4 CATEGORIES= print -#MASTER_SITES= http://download.sourceforge.net/pup/ MASTER_SITES= SF DISTNAME= ${PORTNAME}_${PORTVERSION}_src MAINTAINER= ports@FreeBSD.org -COMMENT= A GTK+ printer setup and maintaining tool +COMMENT= GTK+ printer setup and maintaining tool + +WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION} -PLIST_FILES= bin/pup USE_GNOME= gtk12 -WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}/ +PLIST_FILES= bin/pup -NO_STAGE= yes 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} + @${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: - @${INSTALL_PROGRAM} ${WRKSRC}/pup ${PREFIX}/bin/ + (cd ${WRKSRC} && ${INSTALL_PROGRAM} pup ${STAGEDIR}${PREFIX}/bin) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201857.rBKIvD1Z088901>