blob: 91ef3fa1efe0609c74cdc075f4cbd1e41cbf0dc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Created by: Anders Nordby <anders@fix.no>
# $FreeBSD$
PORTNAME= gentoo
PORTVERSION= 0.20.6
CATEGORIES= x11-fm
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk+ based, file manager inspired by DirectoryOpus
LICENSE= GPLv2 # only
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= gtk30
USES= gettext gmake pathfix pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ENV= MKDIR_P="${MKDIR}"
OPTIONS_DEFINE= FAM DOCS
FAM_USES= fam
FAM_CONFIGURE_ENABLE= fam
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g ; \
s|/bin/mount|/sbin/mount|g ; \
s|/bin/umount|/sbin/umount|g' ${WRKSRC}/gentoorc.in
@${REINPLACE_CMD} -e '/^CFLAGS/s|@GENTOO_CFLAGS@|@CFLAGS@|g' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED||g' \
${WRKSRC}/src/odmultibutton.c
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${STAGEDIR}${MANPREFIX}/man/man1/gentoo.1
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS README.gtkrc \
TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
${RM} ${STAGEDIR}${DOCSDIR}/gentoo.1x
.include <bsd.port.mk>
|