Lines 6-42
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= gentoo |
8 |
PORTNAME= gentoo |
9 |
PORTVERSION= 0.11.17 |
9 |
PORTVERSION= 0.11.18 |
10 |
CATEGORIES= x11-fm |
10 |
CATEGORIES= x11-fm |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
|
13 |
|
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
15 |
|
15 |
|
16 |
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext |
|
|
17 |
|
18 |
USE_GTK= yes |
16 |
USE_GTK= yes |
|
|
17 |
GNU_CONFIGURE= yes |
19 |
|
18 |
|
20 |
MAN1= gentoo.1 |
19 |
MAN1= gentoo.1 |
21 |
|
20 |
|
22 |
DOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \ |
21 |
PORTDOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \ |
23 |
README.gtkrc TODO |
22 |
README.gtkrc TODO |
24 |
|
23 |
|
25 |
GNU_CONFIGURE= yes |
|
|
26 |
|
27 |
post-patch: |
24 |
post-patch: |
28 |
${PERL} -pi -e "s@icons@${PREFIX}/share/gentoo/icons@g" \ |
25 |
@${PERL} -pi -e 's|icons|${DATADIR}/icons|g' ${WRKSRC}/gentoorc.in |
29 |
${WRKSRC}/gentoorc.in |
|
|
30 |
|
26 |
|
31 |
post-install: |
27 |
post-install: |
32 |
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${PREFIX}/man/man1/gentoo.1 |
28 |
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${MANPREFIX}/man/man1/gentoo.1 |
33 |
.if !defined(NOPORTDOCS) |
29 |
.if !defined(NOPORTDOCS) |
34 |
${CP} -R ${WRKSRC}/docs ${PREFIX}/share/doc/gentoo |
30 |
@${MKDIR} ${DOCSDIR} |
35 |
${RM} ${PREFIX}/share/doc/gentoo/gentoo.1x |
31 |
.for file in ${PORTDOCS} |
36 |
${CHMOD} -R a+r,+X ${PREFIX}/share/doc/gentoo |
32 |
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} |
37 |
.for f in ${DOCS} |
|
|
38 |
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/gentoo |
39 |
.endfor |
33 |
.endfor |
|
|
34 |
${TAR} -C ${WRKSRC}/docs --exclude "gentoo.1x" -cf - . | \ |
35 |
${TAR} -C ${DOCSDIR} --unlink -xf - |
36 |
@find ${DOCSDIR} | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP} |
37 |
@find ${DOCSDIR} | xargs ${CHMOD} ${SHAREMODE} |
38 |
@find ${DOCSDIR} -type d | xargs ${CHMOD} a+x |
40 |
.endif |
39 |
.endif |
41 |
|
40 |
|
42 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |