freebsd-ports/sysutils/lxtask/Makefile
William Grzybowski d7e95f5388 sysutils/lxtask: minor fixes
- Add LICENSE (GPLv2)
- Install docs
- Fix NLS option
- Rework pkg-descr to be more verbose
- Give an example for linprocfs in pkg-message
- Pass maintainership to submitter

PR:		ports/179796
Submitted by:	nemysis <nemysis@gmx.ch>
2013-06-21 13:59:25 +00:00

51 lines
915 B
Makefile

# Created by: chinsan
# $FreeBSD$
PORTNAME= lxtask
PORTVERSION= 0.1.4
PORTREVISION= 1
CATEGORIES= sysutils gnome
MASTER_SITES= SF/lxde/LXTask%20%28task%20manager%29/LXTask%20${PORTVERSION}/
MAINTAINER= nemysis@gmx.ch
COMMENT= Lightweight desktop-independent task manager
LICENSE= GPLv2
USES= iconv
USE_GNOME= gtk20 intlhack
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
PORTDOCS= AUTHORS README TODO
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.endif
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -e 's|po src|src|' \
${WRKSRC}/Makefile.in
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.mk>