aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xphelloworld/Makefile
blob: f3ca2bfb588f536e5178097f95375b5099662b2e (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:    xphelloworld
# Date Created:             17 Feb 2006
# Whom:                 Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   xphelloworld
PORTVERSION=    1.0.1
PORTREVISION=   1
CATEGORIES= x11

MAINTAINER= x11@FreeBSD.org
COMMENT=    Sends a test page to an Xprint printer

XORG_CAT=   app
USE_XORG=   x11 xaw8 xprintutil xp xprintapputil xt

PLIST_FILES=    bin/xphelloworld \
        bin/xpsimplehelloworld \
        bin/xpxthelloworld

MAN1=       xphelloworld.1 \
        xpsimplehelloworld.1 \
        xpxthelloworld.1

post-build:
    ${REINPLACE_CMD} \
        -e "s/__appmansuffix__/1/g" \
        -e "s/__miscmansuffix__/7/g" \
        -e "s/__libmansuffix__/3Xp/g" \
        ${WRKSRC}/xphelloworld/xphelloworld.man \
        ${WRKSRC}/xpsimplehelloworld/xpsimplehelloworld.man \
        ${WRKSRC}/xpxmhelloworld/xpxmhelloworld.man \
        ${WRKSRC}/xpxthelloworld/xpxthelloworld.man

.include <bsd.port.mk>