From f552943e3a00ddb6a27d6cfad062f0efa66cabc7 Mon Sep 17 00:00:00 2001
From: Satoshi Asami <asami@FreeBSD.org>
Date: Fri, 7 Apr 2000 09:35:30 +0000
Subject: Fix a couple bogons to make this work.

Submitted by:	Maxim Sobolev <sobomax@altavista.net>
---
 graphics/gimp-app/Makefile | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

(limited to 'graphics/gimp-app')

diff --git a/graphics/gimp-app/Makefile b/graphics/gimp-app/Makefile
index 5f1de62d1edd..f0dc8372d2e2 100644
--- a/graphics/gimp-app/Makefile
+++ b/graphics/gimp-app/Makefile
@@ -55,11 +55,11 @@ WITH_GNOME=	yes
 .endif
 
 .if defined(WITHOUT_PERL)
-PLISTORIG=		${WRKDIR}/PLIST
-PLIST=			${PKGDIR}/PLIST
+PLISTORIG=		${PKGDIR}/PLIST
+PLIST=			${WRKDIR}/PLIST
 .else
-PLISTORIG=		${WRKDIR}/PLIST.perl
-PLIST=			${SRCDIR}/PLIST.perl
+PLISTORIG=		${PKGDIR}/PLIST.perl
+PLIST=			${WRKDIR}/PLIST.perl
 pre-fetch:
 	@${ECHO} -n "If you want to compile without perl support "
 	@${ECHO} "'make -DWITHOUT_PERL' instead"
@@ -67,6 +67,8 @@ pre-fetch:
 
 .if defined(WITH_GNOME) && ${WITH_GNOME} == yes
 LIB_DEPENDS+=	gtkxmhtml.3:${PORTSDIR}/x11/gnomelibs
+pre-install:
+	@${CAT} ${PLISTORIG} > ${PLIST}
 .else
 pre-install:
 	@${SED} -e '/helpbrowser/d' ${PLISTORIG} > ${PLIST}
-- 
cgit v1.2.3