aboutsummaryrefslogtreecommitdiffstats
path: root/net/wmpiki/Makefile
blob: a3e0127fc2fb9509597398593ee66df4f9412173 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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
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

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>