aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lafontaine
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-23 17:10:45 +0800
committerijliao <ijliao@FreeBSD.org>2002-10-23 17:10:45 +0800
commitf434925ea96fc0611af06994848f9ef35b0cb38a (patch)
treee953d59a51c179fb4dd67be5b02c946a4ee405be /lang/lafontaine
parenta6829e16d3960829fba3c930bd1a48e1b14c79ff (diff)
downloadfreebsd-ports-gnome-f434925ea96fc0611af06994848f9ef35b0cb38a.tar.gz
freebsd-ports-gnome-f434925ea96fc0611af06994848f9ef35b0cb38a.tar.zst
freebsd-ports-gnome-f434925ea96fc0611af06994848f9ef35b0cb38a.zip
- Fix MASTER_SITES
- Support CFLAGS/PREFIX properly PR: 44114 Submitted by: Ports Fury
Diffstat (limited to 'lang/lafontaine')
-rw-r--r--lang/lafontaine/Makefile17
-rw-r--r--lang/lafontaine/pkg-plist20
2 files changed, 23 insertions, 14 deletions
diff --git a/lang/lafontaine/Makefile b/lang/lafontaine/Makefile
index e7757b196852..a2d5a41ccd65 100644
--- a/lang/lafontaine/Makefile
+++ b/lang/lafontaine/Makefile
@@ -9,15 +9,26 @@
PORTNAME= lafontaine
PORTVERSION= 0.3R3
CATEGORIES= lang
-MASTER_SITES= http://www.freesoftware.fsf.org/lafontaine/archives/
+MASTER_SITES= http://www.nongnu.org/lafontaine/archives/
DISTNAME= ${PORTNAME}-${PORTVERSION}-20020715
MAINTAINER= ports@FreeBSD.org
-USE_BZIP2= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
USE_GNOMENG= yes
-USE_GNOME= gtk12 gdkpixbuf
+USE_GNOME= gdkpixbuf
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|pixmaps/[\$$]PACKAGE|\$$PACKAGE|g ; \
+ s|-O3|\$$CFLAGS|g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e \
+ 's|"\./pixmaps/|PIXMAPDIR "/|g' ${WRKSRC}/src/callbacks.c
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|/share/pixmaps|/share|g'
.include <bsd.port.mk>
diff --git a/lang/lafontaine/pkg-plist b/lang/lafontaine/pkg-plist
index e5fb9fe63156..aa8d52be9ea4 100644
--- a/lang/lafontaine/pkg-plist
+++ b/lang/lafontaine/pkg-plist
@@ -1,18 +1,16 @@
bin/lafontaine
+share/lafontaine/animator.png
+share/lafontaine/animator.xcf
+share/lafontaine/execute.xpm
share/lafontaine/gypsum.flower.2.fr.logo
share/lafontaine/gypsum.flower.fr.logo
+share/lafontaine/help.xpm
+share/lafontaine/open.xpm
+share/lafontaine/quit.xpm
+share/lafontaine/save.xpm
share/lafontaine/spirelo.fr.logo
share/lafontaine/stars.en.logo
share/lafontaine/test1.logo
-share/pixmaps/lafontaine/animator.png
-share/pixmaps/lafontaine/animator.xcf
-share/pixmaps/lafontaine/execute.xpm
-share/pixmaps/lafontaine/help.xpm
-share/pixmaps/lafontaine/open.xpm
-share/pixmaps/lafontaine/quit.xpm
-share/pixmaps/lafontaine/save.xpm
-share/pixmaps/lafontaine/turtle2.png
-share/pixmaps/lafontaine/turtle3.png
+share/lafontaine/turtle2.png
+share/lafontaine/turtle3.png
@dirrm share/lafontaine
-@dirrm share/pixmaps/lafontaine
-@dirrm share/pixmaps