mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# Created by: Anders Nordby <anders@fix.no>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gentoo
|
|
PORTVERSION= 0.19.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ \
|
|
http://mirror.4bit.ws/
|
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
|
COMMENT= Gtk+ based, file manager inspired by DirectoryOpus
|
|
|
|
OPTIONS_DEFINE= FAM DOCS
|
|
|
|
USE_GNOME= gtk20
|
|
USES= gettext gmake pathfix pkgconfig
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= MKDIR_P="${MKDIR}"
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
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
|
|
@${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} -f ${STAGEDIR}${DOCSDIR}/gentoo.1x
|
|
|
|
.include <bsd.port.mk>
|