1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/x11-fm/gentoo/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: gentoo
# Date created: 12 August 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= gentoo
PORTVERSION= 0.11.34
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= obraun@FreeBSD.org
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_REINPLACE= yes
GNU_CONFIGURE= yes
MAN1= gentoo.1
PORTDOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \
README.gtkrc TODO
post-patch:
@${REINPLACE_CMD} -e 's|icons|${DATADIR}/icons|g' ${WRKSRC}/gentoorc.in
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${MANPREFIX}/man/man1/gentoo.1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
${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
.endif
.include <bsd.port.mk>