diff options
author | nemysis <nemysis@FreeBSD.org> | 2014-01-07 19:40:58 +0800 |
---|---|---|
committer | nemysis <nemysis@FreeBSD.org> | 2014-01-07 19:40:58 +0800 |
commit | 105547b97ea8ab1fedd32934be1fcdd6b375d36d (patch) | |
tree | 11bc251195d4233091700af8073a4ebb19b7b426 /misc/lxde-common/Makefile | |
parent | 1294b10ff5a251e2bd33ee24e4463b1e4918a7ee (diff) | |
download | freebsd-ports-gnome-105547b97ea8ab1fedd32934be1fcdd6b375d36d.tar.gz freebsd-ports-gnome-105547b97ea8ab1fedd32934be1fcdd6b375d36d.tar.zst freebsd-ports-gnome-105547b97ea8ab1fedd32934be1fcdd6b375d36d.zip |
- USES gmake instead of USE_GMAKE
- Support STAGEDIR
- Break lines around 80 characters
Diffstat (limited to 'misc/lxde-common/Makefile')
-rw-r--r-- | misc/lxde-common/Makefile | 26 |
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> |