diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-06-21 15:14:00 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-06-21 15:14:00 +0000 |
commit | d98042d056d7eeba9e7aeec0aeee556e39f94e8d (patch) | |
tree | 42c297df6ccb06cd66293bfc073d18fc45b5ba7a /sysutils/lxterminal | |
parent | 821baa0f1f5c53c88896806c4b3de97e7cbcdf8b (diff) | |
download | ports-d98042d056d7eeba9e7aeec0aeee556e39f94e8d.tar.gz ports-d98042d056d7eeba9e7aeec0aeee556e39f94e8d.zip |
Notes
Diffstat (limited to 'sysutils/lxterminal')
-rw-r--r-- | sysutils/lxterminal/Makefile | 34 | ||||
-rw-r--r-- | sysutils/lxterminal/pkg-plist | 30 |
2 files changed, 38 insertions, 26 deletions
diff --git a/sysutils/lxterminal/Makefile b/sysutils/lxterminal/Makefile index 7a591a866b72..a6ad3c0eb110 100644 --- a/sysutils/lxterminal/Makefile +++ b/sysutils/lxterminal/Makefile @@ -5,21 +5,28 @@ PORTNAME= lxterminal PORTVERSION= 0.1.11 PORTREVISION= 1 CATEGORIES= sysutils -MASTER_SITES= SF/lxde/LXTerminal%20%28terminal%20emulator%29/LXTerminal%20${PORTVERSION} +MASTER_SITES= SF/lxde/LXTerminal%20%28terminal%20emulator%29/LXTerminal%20${PORTVERSION}/ -MAINTAINER= ports@FreeBSD.org -COMMENT= A lightweight terminal emulator from the LXDE project +MAINTAINER= nemysis@gmx.ch +COMMENT= Lightweight terminal emulator from the LXDE project -LIB_DEPENDS= vte.9:${PORTSDIR}/x11-toolkits/vte +LICENSE= GPLv2 + +LIB_DEPENDS= vte:${PORTSDIR}/x11-toolkits/vte -USE_GNOME= gtk20 intlhack -USE_GMAKE= yes USES= iconv +USE_GNOME= gtk20 intlhack GNU_CONFIGURE= yes -USE_LDCONFIG= yes CONFIGURE_ARGS= --prefix=${PREFIX} +USE_GMAKE= yes +USE_LDCONFIG= yes + MAN1= lxterminal.1 +PORTDOCS= AUTHORS README + +OPTIONS_DEFINE= DOCS NLS + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MNLS} @@ -28,8 +35,19 @@ PLIST_SUB+= NLS="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .else -CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif +post-patch: +.if ! ${PORT_OPTIONS:MNLS} + @${REINPLACE_CMD} -e 's|src po|src|' \ + ${WRKSRC}/Makefile.in +.endif + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + .include <bsd.port.mk> diff --git a/sysutils/lxterminal/pkg-plist b/sysutils/lxterminal/pkg-plist index a16d625b787e..d2b00f716a7d 100644 --- a/sysutils/lxterminal/pkg-plist +++ b/sysutils/lxterminal/pkg-plist @@ -1,4 +1,5 @@ bin/lxterminal +share/applications/lxterminal.desktop %%NLS%%share/locale/af/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/ar/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/be/LC_MESSAGES/lxterminal.mo @@ -56,25 +57,18 @@ bin/lxterminal %%NLS%%share/locale/vi/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/lxterminal.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/lxterminal.mo -share/applications/lxterminal.desktop +%%DATADIR%%/lxterminal-preferences.ui +%%DATADIR%%/lxterminal.conf share/pixmaps/lxterminal.png -share/lxterminal/lxterminal.conf -share/lxterminal/lxterminal-preferences.ui -@dirrm share/lxterminal +@dirrm %%DATADIR%% @dirrmtry share/applications -%%NLS%%@dirrmtry share/locale/es_VE/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/es_VE -%%NLS%%@dirrmtry share/locale/fo/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/fo -%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/frp -%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/lg -%%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/sr@latin -%%NLS%%@dirrmtry share/locale/te/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/te -%%NLS%%@dirrmtry share/locale/tt_RU/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/tt_RU %%NLS%%@dirrmtry share/locale/ur_PK/LC_MESSAGES %%NLS%%@dirrmtry share/locale/ur_PK +%%NLS%%@dirrmtry share/locale/tt_RU/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/tt_RU +%%NLS%%@dirrmtry share/locale/lg/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/lg +%%NLS%%@dirrmtry share/locale/frp/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/frp +%%NLS%%@dirrmtry share/locale/es_VE/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/es_VE |