1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/wmpiki/Makefile
Pav Lucistnik f4fae76ce8 - Rename patch file so it get used in make patch
- Minor fix in documentation

PR:		ports/76371
Submitted by:	Thomas Kempka <t.kempka@web.de> (maintainer)
2005-01-20 12:11:57 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: wmpiki
# Date created: 19 February 2004
# Whom: Thomas Kempka <t.kempka@web.de>
#
# $FreeBSD$
#
PORTNAME= wmpiki
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= net windowmaker
MASTER_SITES= http://clay.ll.pl/download/
MAINTAINER= t.kempka@web.de
COMMENT= A multiping host checker dockapp
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX= yes
USE_XPM= yes
USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|$$(X11BASE)|g' \
-e 's|/include/X11|/include|g' \
-e 's|gcc|cc|g' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|ping_options\=-c 1 -w 1|ping_options\=-c 1 -i 1|g' \
-e 's|ping host -c 1 -w 1|ping host -c 1 -i 1|g' \
${WRKSRC}/README
@${REINPLACE_CMD} -e 's|ping_options\=-c 1 -w 1|ping_options\=-c 1 -i 1|g' \
${WRKSRC}/config.example
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/config.example ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
${INSTALL_PROGRAM} ${WRKSRC}/wmpiki ${PREFIX}/bin
.include <bsd.port.mk>