|
Lines 2-8
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= pcmanfm |
4 |
PORTNAME= pcmanfm |
| 5 |
PORTVERSION= 1.2.2 |
5 |
PORTVERSION= 1.2.3 |
| 6 |
CATEGORIES= x11-fm |
6 |
CATEGORIES= x11-fm |
| 7 |
MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ |
7 |
MASTER_SITES= SF/${PORTNAME}/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/ |
| 8 |
|
8 |
|
|
Lines 13-38
Link Here
|
| 13 |
|
13 |
|
| 14 |
LIB_DEPENDS= libfm-gtk.so:${PORTSDIR}/x11/libfm |
14 |
LIB_DEPENDS= libfm-gtk.so:${PORTSDIR}/x11/libfm |
| 15 |
|
15 |
|
| 16 |
USES= desktop-file-utils fam gmake pathfix pkgconfig tar:xz libtool |
16 |
USES= desktop-file-utils gmake pkgconfig gettext-tools libtool \ |
| 17 |
USE_GNOME= gtk20 |
17 |
autoreconf tar:xz |
| 18 |
USE_AUTOTOOLS= aclocal automake |
18 |
GNU_CONFIGURE= yes |
|
|
19 |
USE_GNOME= glib20 gtk20 intltool intlhack |
| 20 |
USE_XORG= x11 |
| 19 |
|
21 |
|
| 20 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
CONFIGURE_ARGS=--with-gtk=2 |
| 21 |
LDFLAGS+= -L${LOCALBASE}/lib |
|
|
| 22 |
|
23 |
|
| 23 |
PORTDOCS= AUTHORS NEWS |
24 |
PORTDOCS= AUTHORS NEWS |
| 24 |
|
25 |
|
| 25 |
OPTIONS_DEFINE= DEBUG DOCS NLS |
26 |
OPTIONS_DEFINE= DOCS NLS |
| 26 |
OPTIONS_SUB= yes |
27 |
OPTIONS_SUB= yes |
| 27 |
|
28 |
NLS_USES= gettext-runtime |
| 28 |
DEBUG_CONFIGURE_ENABLE= debug |
|
|
| 29 |
|
| 30 |
NLS_USES= gettext |
| 31 |
NLS_CONFIGURE_ENABLE= nls |
29 |
NLS_CONFIGURE_ENABLE= nls |
| 32 |
|
30 |
|
| 33 |
post-patch: |
31 |
post-patch: |
| 34 |
@${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.am |
32 |
@${REINPLACE_CMD} -e '/pcmanfm.conf/ d' ${WRKSRC}/data/Makefile.am |
| 35 |
|
33 |
|
|
|
34 |
post-configure: |
| 35 |
# Replace locales files in right place |
| 36 |
${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \ |
| 37 |
${WRKSRC}/po/Makefile |
| 38 |
|
| 36 |
post-install: |
39 |
post-install: |
| 37 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/ |
40 |
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/default/ |
| 38 |
${INSTALL_DATA} ${WRKSRC}/data/pcmanfm.conf \ |
41 |
${INSTALL_DATA} ${WRKSRC}/data/pcmanfm.conf \ |