aboutsummaryrefslogtreecommitdiffstats
path: root/print/wmlpq/Makefile
blob: 2da14b6a19884f55b8cddfc58e727b59e8c2d465 (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
# New ports collection makefile for:    wmlpq
# Date created:             Thu Jul  5 14:43:55 EDT 2001
# Whom:                 Patrick Li <pat@databits.net>
#
# $FreeBSD$
#

PORTNAME=   wmlpq
PORTVERSION=    0.2.1
CATEGORIES= print windowmaker
MASTER_SITES=   http://www.ur.uklinux.net/wmlpq/dl/
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= pat@FreeBSD.org

LIB_DEPENDS=    dockapp.1:${PORTSDIR}/x11-wm/libdockapp

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_X_PREFIX=   yes
USE_XPM=    yes

MAN1=       ${PORTNAME}.1x

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1x ${PREFIX}/man/man1
.ifndef(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
    @${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
    @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PORTNAME}
    @${INSTALL_DATA} ${WRKSRC}/sample.wmlpqrc ${PREFIX}/share/examples/${PORTNAME}
    @${INSTALL_DATA} ${WRKSRC}/wmlpqrc ${PREFIX}/share/examples/${PORTNAME}
.endif #NOPORTDOCS
    @${SED} -e "s|/usr/X11R6|${PREFIX}|" ${PKGMESSAGE}

.include <bsd.port.mk>