aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/slingshot/Makefile
blob: a8a0d6504a4512f68d79b089a9db87c9be297a03 (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
38
39
40
41
42
# Created by: Pedro Giffuni
# $FreeBSD$

PORTNAME=   slingshot
PORTVERSION=    2.1
PORTREVISION=   3
CATEGORIES= x11-toolkits
MASTER_SITES=   ftp://ftp.x.org/R5contrib/ \
        http://komquats.com/distfiles/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=     cy

DISTNAME=   SlingShot${PORTVERSION}
EXTRACT_SUFX=   .tar.Z

MAINTAINER= cy@FreeBSD.org
COMMENT=    Supplemental Libraries to extend Xview

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

WRKSRC=     ${WRKDIR}/sspkg2.1
USE_LDCONFIG=   yes
USES=       gmake
MAKE_JOBS_UNSAFE=   yes
MAKE_ENV=   OPENWINHOME=${LOCALBASE}

OPTIONS_DEFINE= DOCS

.include <bsd.port.options.mk>

IMAKECPPFLAGS+= -DXVDestDir=${STAGEDIR}${PREFIX}
MAKE_ARGS=  STAGEDIR=${STAGEDIR}

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
    ${GZIP_CMD} ${STAGEDIR}${DOCSDIR}/README ${STAGEDIR}${DOCSDIR}/*.ps
.endif

.include <bsd.port.mk>