mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
7bdea05bb4
without any pending PR With hat: portmgr
37 lines
785 B
Makefile
37 lines
785 B
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tickr
|
|
PORTVERSION= 0.6.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.newsrssticker.com/src/ \
|
|
LOCAL/nivit/
|
|
|
|
MAINTAINER= ports@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
|
|
|
|
DOS2UNIX_GLOB= tickr.h
|
|
USE_GNOME= desktopfileutils gtk20 libxml2
|
|
USES= dos2unix pkgconfig
|
|
|
|
NO_STAGE= yes
|
|
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>
|