aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/slingshot/Makefile
blob: e2542e18d9cc525253761a9fadc9352e1e876898 (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:    SlingShot
# Date created:     5 March 1997
# Whom:         Pedro Giffuni
#
# $FreeBSD$
#

PORTNAME=   slingshot
PORTVERSION=    2.1
CATEGORIES= x11-toolkits
MASTER_SITES=   ftp://ftp.x.org/R5contrib/ \
        ftp://ftp.freesoftware.com/pub/X11/R5contrib/
DISTNAME=   SlingShot${PORTVERSION}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= ports@FreeBSD.org

LIB_DEPENDS=    xview.3:${PORTSDIR}/x11-toolkits/xview

WRKSRC=     ${WRKDIR}/sspkg2.1
USE_X_PREFIX=   yes
INSTALLS_SHLIB= yes
USE_GMAKE=  yes
MAKE_ENV=   OPENWINHOME=${X11BASE}

pre-patch:
    ${CP} ${WRKSRC}/config.sunos4x ${WRKSRC}/config.fbsd

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/SlingShot
    ${INSTALL_DATA} ${WRKSRC}/README  ${PREFIX}/share/doc/SlingShot
    ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${PREFIX}/share/doc/SlingShot
.endif

.include <bsd.port.mk>