summaryrefslogtreecommitdiff
path: root/x11-fm/gentoo/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-08-26 16:30:41 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-08-26 16:30:41 +0000
commit4e9bd30f084d4a1b532d21ece54b3927124c0e7b (patch)
treef054cb980d3a86143325dc2c0cb77f43658e04ba /x11-fm/gentoo/Makefile
parentadd p5-Image-Info 1.08 (diff)
- update to version 0.11.17
- use MASTER_SITE_SOURCEFORGE - clean up install process - sort pkg-plist PR: 30103 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=46935
Diffstat (limited to 'x11-fm/gentoo/Makefile')
-rw-r--r--x11-fm/gentoo/Makefile38
1 files changed, 13 insertions, 25 deletions
diff --git a/x11-fm/gentoo/Makefile b/x11-fm/gentoo/Makefile
index 898d34b3c185..ea9e6585c5ac 100644
--- a/x11-fm/gentoo/Makefile
+++ b/x11-fm/gentoo/Makefile
@@ -6,41 +6,29 @@
#
PORTNAME= gentoo
-PORTVERSION= 0.11.16
+PORTVERSION= 0.11.17
CATEGORIES= x11-fm
-MASTER_SITES= http://www.obsession.se/gentoo/ \
- http://www.ibiblio.org/pub/linux/utils/file/managers/ \
- ftp://ftp.nuug.no/pub/anders/distfiles/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= anders@fix.no
+LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
+
USE_GTK= yes
MAN1= gentoo.1
-DOCS= BUGS CONFIG-CHANGES CREDITS FIXES-0.11 FIXES-0.9 README \
- README.NLS README.gtkrc TODO gentoogtkrc-example
+DOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \
+ README.gtkrc TODO
+
+GNU_CONFIGURE= yes
post-patch:
- @ ${MV} ${WRKSRC}/gentoorc-example ${WRKSRC}/gentoorc-example.Dist
- @ ${SED} 's#icons#${PREFIX}/share/gentoo/icons#' \
- ${WRKSRC}/gentoorc-example.Dist > ${WRKSRC}/gentoorc-example
-
- @ ${MV} ${WRKSRC}/src/Makefile ${WRKSRC}/src/Makefile.patched
- @ ${SED} -e 's#/home/emil/data/projects/gentoo#${PREFIX}/share#' \
- -e 's#gtk-config#${GTK_CONFIG}#' ${WRKSRC}/src/Makefile.patched \
- > ${WRKSRC}/src/Makefile
-
- @ ${MV} ${WRKSRC}/widgets/Makefile ${WRKSRC}/widgets/Makefile.Dist
- @ ${SED} -e 's#gtk-config#${GTK_CONFIG}#' -e 's#^CC.*##' \
- ${WRKSRC}/widgets/Makefile.Dist > ${WRKSRC}/widgets/Makefile
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/gentoo ${PREFIX}/bin
- @${INSTALL} -d -m 0755 ${PREFIX}/share/gentoo
- ${CP} -R ${WRKSRC}/icons ${PREFIX}/share/gentoo
- ${CHMOD} 0755 ${PREFIX}/share/gentoo/icons
- ${INSTALL_DATA} ${WRKSRC}/gentoorc-example ${PREFIX}/etc/gentoorc
+ ${PERL} -pi -e "s@icons@${PREFIX}/share/gentoo/icons@g" \
+ ${WRKSRC}/gentoorc.in
+
+post-install:
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${PREFIX}/man/man1/gentoo.1
.if !defined(NOPORTDOCS)
${CP} -R ${WRKSRC}/docs ${PREFIX}/share/doc/gentoo