aboutsummaryrefslogtreecommitdiff
path: root/lang/lafontaine
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-23 09:10:45 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-23 09:10:45 +0000
commit64f24e84ebe9a2d34c44f210b515438f6cef2939 (patch)
treee455c1fc645b9afcb9464a09dcb6601140fd92b8 /lang/lafontaine
parent566e7e2a5d9e543f689186761fad59eef9775921 (diff)
downloadports-64f24e84ebe9a2d34c44f210b515438f6cef2939.tar.gz
ports-64f24e84ebe9a2d34c44f210b515438f6cef2939.zip
- Fix MASTER_SITES
- Support CFLAGS/PREFIX properly PR: 44114 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=68646
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