aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xpns/Makefile
blob: 3496441b4d04a7c5ffcf5c6075d2f35f08a2f17c (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
# New ports collection makefile for:    xpns
# Version required:     1.0
# Date created:         6 Apr 97
# Whom:                 Pedro Giffuni
#
# $FreeBSD$
#

DISTNAME=   pns_source
PKGNAME=    xpns-1.0
CATEGORIES= misc cad
MASTER_SITES=   http://www.ee.uwa.edu.au/~braunl/pns/ftp/
EXTRACT_SUFX=   .tar.Z

MAINTAINER= giffunip@asme.org

USE_X_PREFIX=   yes
NO_WRKSUBDIR=   yes
MAKEFILE=   makefile
ALL_TARGET= pns

do-install:
    ${MKDIR} ${PREFIX}/lib/xpns
    ${INSTALL_PROGRAM} ${WRKSRC}/pns ${PREFIX}/lib/xpns/
    ${INSTALL_DATA} ${WRKSRC}/pns.hlp ${PREFIX}/lib/xpns/
    ${INSTALL_DATA} ${WRKSRC}/pns.shell ${PREFIX}/lib/xpns/
    ${INSTALL_SCRIPT} ${WRKSRC}/xpns ${PREFIX}/bin/xpns

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/xpns
    ${CP} ${WRKSRC}/*.net ${PREFIX}/share/doc/xpns/
.endif

.include <bsd.port.mk>