blob: 024569609e52fe529d54802a178900aeec02ad39 (
plain)
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
|
# $NetBSD: Makefile,v 1.2 1999/09/01 20:05:19 tron Exp $
DISTNAME= raproxy3.0b1
PKGNAME= ra-pna-proxy-3.0b1
CATEGORIES= net
MASTER_SITES= # empty
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://service.real.com/firewall/fdev.html
LICENSE= no-commercial-use
MIRROR_DISTFILE= no
DOWNLOAD= http://proforma.real.com/mario/devzone/proxyform.html
ALL_TARGET= raproxy
PROGNAME= ${PKGNAME:C/-[1-9].*//}
WRKSRC= ${WRKDIR}/raproxy
do-fetch:
@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
${ECHO_MSG} "==============================================================="; \
${ECHO_MSG} " The PNA Proxy Kit must be fetched into \"${DISTDIR}\""; \
${ECHO_MSG} " via the Web formular available under this URL:"; \
${ECHO_MSG} " ${DOWNLOAD}"; \
${ECHO_MSG} "==============================================================="; \
${FALSE}; \
fi
post-build:
cd ${WRKSRC}; \
${SED} -e 's#/usr/local#${PREFIX}#g' <raproxy.man >${PROGNAME}.8
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/raproxy ${PREFIX}/libexec/${PROGNAME}
${INSTALL_MAN} ${WRKSRC}/${PROGNAME}.8 ${PREFIX}/man/man8
${MKDIR} ${PREFIX}/share/doc/${PROGNAME}
${INSTALL_DATA} ${WRKSRC}/license.txt ${PREFIX}/share/doc/${PROGNAME}
.include "../../mk/bsd.pkg.mk"
|