freebsd-ports/www/tickr/Makefile
Nicola Vitale f75d2aa2cd - Bump PORTREVISION (change pkg-plist
- Take maintainership
- Use desktop-file-utils and libtool helpers
- Add support for stage dir
- Install a predefined list of RSS feeds
- Add files/patch-src__libetm-0.4.4__Makefile.in

Build Log:	https://redports.org/buildarchive/20140722225327-99178/
2014-07-22 23:24:03 +00:00

36 lines
893 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= tickr
PORTVERSION= 0.6.4
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= http://www.newsrssticker.com/src/ \
LOCAL/nivit/
MAINTAINER= nivit@FreeBSD.org
COMMENT= News RSS Ticker
LICENSE= GPLv3
GNU_CONFIGURE= yes
PLIST_SUB= DESKTOPDIR=${DESKTOPDIR:S,${PREFIX}/,,}
REINPLACE_ARGS= -e 's,%%DATADIR%%,${DATADIR},1' -e 's,%%PREFIX%%,${PREFIX},1' -i.bak
DOS2UNIX_GLOB= tickr.h
USE_GNOME= gtk20 libxml2
USES= desktop-file-utils dos2unix pkgconfig libtool
post-patch:
${REINPLACE_CMD} ${WRKSRC}/${PORTNAME}.desktop ${WRKSRC}/src/tickr/tickr.h
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/tickr-url-list ${STAGEDIR}${DATADIR}/tickr-url-list
${LOCALBASE}/bin/desktop-file-install \
--mode=${SHAREMODE} --dir=${STAGEDIR}${DESKTOPDIR} \
${WRKSRC}/${PORTNAME}.desktop
.include <bsd.port.mk>