2013-06-22 13:44:56 +02:00
|
|
|
# Created by: sahne
|
2009-03-31 11:57:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lxde-common
|
2011-09-09 00:01:17 +02:00
|
|
|
PORTVERSION= 0.5.5
|
2013-06-22 13:44:56 +02:00
|
|
|
PORTREVISION= 4
|
2009-03-31 11:57:47 +02:00
|
|
|
CATEGORIES= misc
|
2013-06-22 13:44:56 +02:00
|
|
|
MASTER_SITES= SF/lxde/${PORTNAME}%20%28default%20config%29/LXDE%20Common%20${PORTVERSION}/
|
2009-03-31 11:57:47 +02:00
|
|
|
|
2013-06-22 13:44:56 +02:00
|
|
|
MAINTAINER= nemysis@gmx.ch
|
2009-03-31 11:57:47 +02:00
|
|
|
COMMENT= LXDE Common files
|
|
|
|
|
2013-06-22 13:44:56 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2013-04-27 13:59:28 +02:00
|
|
|
USES= iconv
|
2013-06-22 13:44:56 +02:00
|
|
|
USE_GNOME= gtk20
|
2009-03-31 11:57:47 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
GMSGFMT="${LOCALBASE}/bin/msgfmt" \
|
2012-03-09 22:27:33 +01:00
|
|
|
--with-xsession-path=${PREFIX}/share/xsessions \
|
|
|
|
--with-xdg-path=${PREFIX}/share/applications
|
2013-06-22 13:44:56 +02:00
|
|
|
USE_GMAKE= yes
|
2009-03-31 11:57:47 +02:00
|
|
|
|
|
|
|
DATADIR= ${PREFIX}/share/lxde
|
|
|
|
INSTALLS_ICONS= YES
|
|
|
|
|
2013-06-22 13:44:56 +02:00
|
|
|
MAN1= startlxde.1 lxde-logout.1 openbox-lxde.1
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS README
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.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
|
2013-07-01 16:42:37 +02:00
|
|
|
@[ -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
|
2013-06-22 13:44:56 +02:00
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
|
|
.endif
|
2009-03-31 11:57:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|