fef53ed1df
- Bump PORTREVISION - Add gettext-runtime into USES - Sort USES - Fix NLS option - Regenerate patch PR: 201414 Submitted by: s3erios@gmail.com and maintainer Approved by: horia@racoviceanu.com (maintainer)
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# Created by: Martin Tournoij <carpetsmoker@xs4all.nl>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pcmanfm
|
|
PORTVERSION= 1.2.3
|
|
CATEGORIES= x11-fm
|
|
MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/
|
|
|
|
MAINTAINER= horia@racoviceanu.com
|
|
COMMENT= PCMan File Manager
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libfm-gtk.so:${PORTSDIR}/x11/libfm
|
|
|
|
USES= autoreconf desktop-file-utils gettext gmake libtool pkgconfig \
|
|
tar:xz
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= glib20 gtk20 intltool intlhack
|
|
USE_XORG= x11
|
|
|
|
CONFIGURE_ARGS=--with-gtk=2
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= AUTHORS NEWS
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.am
|
|
|
|
post-configure:
|
|
# Replace locales files in right place
|
|
${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \
|
|
${WRKSRC}/po/Makefile
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/
|
|
${INSTALL_DATA} ${WRKSRC}/data/pcmanfm.conf \
|
|
${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/pcmanfm.conf.sample
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|