2001-08-12 08:51:18 +02:00
|
|
|
# New ports collection makefile for: gentoo
|
|
|
|
# Date created: 12 August 2001
|
|
|
|
# Whom: Anders Nordby <anders@fix.no>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gentoo
|
2002-06-11 18:16:29 +02:00
|
|
|
PORTVERSION= 0.11.26
|
2001-08-12 08:51:18 +02:00
|
|
|
CATEGORIES= x11-fm
|
2001-08-26 18:30:41 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-08-12 08:51:18 +02:00
|
|
|
|
2002-03-02 03:04:12 +01:00
|
|
|
MAINTAINER= obraun@informatik.unibw-muenchen.de
|
2001-08-12 08:51:18 +02:00
|
|
|
|
|
|
|
USE_GTK= yes
|
2001-10-19 16:06:43 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2001-08-12 08:51:18 +02:00
|
|
|
|
|
|
|
MAN1= gentoo.1
|
|
|
|
|
2001-10-19 16:06:43 +02:00
|
|
|
PORTDOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \
|
2001-08-26 18:30:41 +02:00
|
|
|
README.gtkrc TODO
|
|
|
|
|
2001-08-12 08:51:18 +02:00
|
|
|
post-patch:
|
2001-10-19 16:06:43 +02:00
|
|
|
@${PERL} -pi -e 's|icons|${DATADIR}/icons|g' ${WRKSRC}/gentoorc.in
|
2001-08-26 18:30:41 +02:00
|
|
|
|
|
|
|
post-install:
|
2001-10-19 16:06:43 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${MANPREFIX}/man/man1/gentoo.1
|
2001-08-12 08:51:18 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-10-19 16:06:43 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
2001-08-12 08:51:18 +02:00
|
|
|
.endfor
|
2001-10-19 16:06:43 +02:00
|
|
|
${TAR} -C ${WRKSRC}/docs --exclude "gentoo.1x" -cf - . | \
|
|
|
|
${TAR} -C ${DOCSDIR} --unlink -xf -
|
|
|
|
@find ${DOCSDIR} | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
|
|
|
|
@find ${DOCSDIR} | xargs ${CHMOD} ${SHAREMODE}
|
|
|
|
@find ${DOCSDIR} -type d | xargs ${CHMOD} a+x
|
2001-08-12 08:51:18 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|