2004-02-20 20:40:57 +00:00
|
|
|
# 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
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 2
|
2004-02-20 20:40:57 +00:00
|
|
|
CATEGORIES= net windowmaker
|
2006-06-06 20:21:38 +00:00
|
|
|
MASTER_SITES= http://mirror2.unixfreunde.de/ \
|
|
|
|
http://freebsd.unixfreunde.de/sources/
|
2004-02-20 20:40:57 +00:00
|
|
|
|
|
|
|
MAINTAINER= t.kempka@web.de
|
|
|
|
COMMENT= A multiping host checker dockapp
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2008-03-23 11:11:33 +00:00
|
|
|
USE_XORG= xpm
|
2004-02-20 20:40:57 +00:00
|
|
|
|
|
|
|
post-patch:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/X11R6|$$(LOCALBASE)|g' \
|
2004-02-20 20:40:57 +00:00
|
|
|
-e 's|/include/X11|/include|g' \
|
|
|
|
-e 's|gcc|cc|g' \
|
|
|
|
${WRKSRC}/Makefile
|
2005-01-20 12:11:57 +00:00
|
|
|
@${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
|
2004-02-20 20:40:57 +00:00
|
|
|
|
|
|
|
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>
|