aboutsummaryrefslogtreecommitdiffstats
path: root/lang/rexx-regutil/Makefile
blob: 102ffb158275c867be76798755cc4ef25a8404aa (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: Bob Eager <bob@eager.cx>
# $FreeBSD$

PORTNAME=   regutil
PORTVERSION=    1.26
CATEGORIES= lang
MASTER_SITES=   http://home.interlog.com/~ptjm/ http://www.tavi.co.uk/distfiles/
PKGNAMEPREFIX=  rexx-
DISTNAME=   regutil126

MAINTAINER= bob@eager.cx
COMMENT=    An implementation of IBM's RexxUtil function library for Regina

BUILD_DEPENDS=  ${LOCALBASE}/include/rexxsaa.h:${PORTSDIR}/lang/rexx-regina

USE_ZIP=    yes

WRKSRC=     ${WRKDIR}/${PORTNAME}
USE_LDCONFIG=   yes
MAN1=       regutil.1
MLINKS=     regutil.1 rexxutil.1
MAKEFILE=   Makefile.bsd

SUB_FILES=  regutil.1 pkg-message

PKGMESSAGE= ${WRKDIR}/pkg-message

NO_STAGE=   yes
.include <bsd.port.pre.mk>

do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/librexxutil.so ${PREFIX}/lib
        ${INSTALL_MAN} ${WRKDIR}/regutil.1 ${PREFIX}/man/man1

post-install:
.if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}
        ${INSTALL_MAN} ${WRKSRC}/regutil.pdf ${DOCSDIR}
        @${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.post.mk>