freebsd-ports/www/tickr/Makefile
Nicola Vitale 97480323fb - Limit use of dos2unix to src/tickr/tickr.h
- Fix runtime path of tickr icon
2013-03-15 14:49:11 +00:00

35 lines
766 B
Makefile

# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$
PORTNAME= tickr
PORTVERSION= 0.6.3
#PORTREVISION= 0
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,%%PREFIX%%,${PREFIX},1' -i.bak
USE_DOS2UNIX= tickr.h
USE_GNOME= desktopfileutils gtk20 libxml2
USE_PKGCONFIG= build
post-patch:
${REINPLACE_CMD} ${WRKSRC}/${PORTNAME}.desktop ${WRKSRC}/src/tickr/tickr.h
post-install:
${LOCALBASE}/bin/desktop-file-install \
--mode=${SHAREMODE} --dir=${DESKTOPDIR} \
${WRKSRC}/${PORTNAME}.desktop
-${LOCALBASE}/bin/update-desktop-database
.include <bsd.port.mk>