1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/www/rsstail/Makefile
Mathieu Arnold 72ea7e696b Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:33:55 +00:00

36 lines
855 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= rsstail
PORTVERSION= 2.1
CATEGORIES= www
MASTER_SITES= https://www.vanheusden.com/rsstail/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple RSS monitor
LICENSE= GPLv2
LIB_DEPENDS= libmrss.so:textproc/libmrss
MAKE_ENV= bindir="${PREFIX}/bin" mandir="${MANPREFIX}/man/man1"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
USES= iconv tar:tgz
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
post-patch:
@${REINPLACE_CMD} -e \
's|^DEBUG=|#DEBUG=| ; \
s|^LDFLAGS=-liconv_hook |LDFLAGS+=| ; \
s|^CFLAGS=-O3 |CFLAGS+=| ; \
s|\([[:space:]]\)\($$(..ndir)\)|\1$$(DESTDIR)\2|g ; \
/bindir/s|install |$${BSD_INSTALL_PROGRAM} | ; \
/mandir/s|install -m 644 |$${BSD_INSTALL_MAN} |' \
${WRKSRC}/Makefile
.include <bsd.port.mk>