aboutsummaryrefslogtreecommitdiff
path: root/misc/lxde-common/Makefile
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-01-07 11:40:58 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-01-07 11:40:58 +0000
commit540afcb7587bb1aba1acc9834681d33b5f34b8a3 (patch)
tree11bc251195d4233091700af8073a4ebb19b7b426 /misc/lxde-common/Makefile
parent42e29067bc67019acbf370d46841d3949b345fe9 (diff)
downloadports-540afcb7587bb1aba1acc9834681d33b5f34b8a3.tar.gz
ports-540afcb7587bb1aba1acc9834681d33b5f34b8a3.zip
Notes
Diffstat (limited to 'misc/lxde-common/Makefile')
-rw-r--r--misc/lxde-common/Makefile26
1 files changed, 8 insertions, 18 deletions
diff --git a/misc/lxde-common/Makefile b/misc/lxde-common/Makefile
index cf0ae654766a..fabf77e70d0e 100644
--- a/misc/lxde-common/Makefile
+++ b/misc/lxde-common/Makefile
@@ -12,7 +12,7 @@ COMMENT= LXDE Common files
LICENSE= GPLv2
-USES= iconv
+USES= gmake iconv
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
@@ -21,31 +21,21 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
GMSGFMT="${LOCALBASE}/bin/msgfmt" \
--with-xsession-path=${PREFIX}/share/xsessions \
--with-xdg-path=${PREFIX}/share/applications
-USE_GMAKE= yes
DATADIR= ${PREFIX}/share/lxde
INSTALLS_ICONS= YES
-MAN1= startlxde.1 lxde-logout.1 openbox-lxde.1
-
PORTDOCS= AUTHORS README
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
- ${INSTALL_DATA} ${WRKSRC}/desktop.conf ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf.sample
- ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.sample
- @[ -f ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf ] || \
- ${INSTALL_DATA} ${WRKSRC}/desktop.conf ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf
- @[ -f ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf ] || \
- ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf
-
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/desktop.conf \
+ ${STAGEDIR}${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf.sample
+ ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf \
+ ${STAGEDIR}${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.sample
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>