diff options
author | wg <wg@FreeBSD.org> | 2013-06-21 15:14:00 +0000 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-06-21 15:14:00 +0000 |
commit | 3fa14f92a9acaa5077e7328ba1a429a8d33a039c (patch) | |
tree | 42c297df6ccb06cd66293bfc073d18fc45b5ba7a /sysutils/lxterminal/Makefile | |
parent | fe1472fd6a10105324f558336973ca69f44e9aa5 (diff) | |
download | FreeBSD-ports-3fa14f92a9acaa5077e7328ba1a429a8d33a039c.zip FreeBSD-ports-3fa14f92a9acaa5077e7328ba1a429a8d33a039c.tar.gz |
sysutils/lxterminal: minor fixes
- Add LICENSE (GPLv2) [1]
- Remove leading article from COMMENT [1]
- Fix NLS option [1]
- Install docs [1]
- Add DOCS option
- Remove lib ABI from LIB_DEPENDS
- Pass maintainership to submitter
PR: ports/179699
Submitted by: nemysis <nemysis@gmx.ch>
Diffstat (limited to 'sysutils/lxterminal/Makefile')
-rw-r--r-- | sysutils/lxterminal/Makefile | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/sysutils/lxterminal/Makefile b/sysutils/lxterminal/Makefile index 7a591a8..a6ad3c0 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> |