blob: cb8f1c621f1239d9d2e62ea2c1a6c85c167ad86c (
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
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.2 2000/08/18 22:46:51 hubertf Exp $
#
DISTNAME= ${PKGNAME}-i386.linux
PKGNAME= asWedit-4.0.1
WRKSRC= ${WRKDIR}/${PKGNAME}
CATEGORIES= www
MASTER_SITES= http://www.advasoft.com/asWedit/ \
http://gd.tuwien.ac.at/infosys/editors/asWedit/ \
ftp://ftp.edelweb.fr/pub/asWedit/ \
ftp://sunsite.icm.edu.pl/pub/www/asWedit/ \
ftp://sunsite.auc.dk/pub/infosystems/www/asWedit/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.advasoft.com/asWedit.html
DEPENDS+= suse_linux>=6.1:../../emulators/suse_linux
ONLY_FOR_PLATFORM= NetBSD-*-i386
RESTRICTED= "No re-distribution"
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BUILD= yes
MESSAGE_FILE= ${WRKDIR}/MESSAGE
do-configure:
cd ${WRKSRC} && ${CP} AsWedit AsWedit.bak && \
${SED} -e 's:/usr/local/lib:${PREFIX}/libdata:g' \
-e 's:^!!\*helpDir:*helpDir:' \
< AsWedit.bak > AsWedit
${SED} -e 's:@@PREFIX@@:${PREFIX}:g' \
< ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/asWedit ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/asWedit.hlp ${PREFIX}/libdata
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/asWedit
${INSTALL_DATA} ${WRKSRC}/AsWedit ${PREFIX}/share/examples/asWedit
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asWedit
.for docs in INSTALL LICENSE ORDERING README
${INSTALL_DATA} ${WRKSRC}/${docs} ${PREFIX}/share/doc/asWedit
.endfor
.include "../../mk/bsd.pkg.mk"
|