blob: 283df7a4188255dac23bbab0868c40a8d24d6744 (
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
49
50
|
# New ports collection makefile for: pathchar
# Version required: a0 (a.out systems), a1 (ELF systems)
# Date created: 7 November 1998
# Whom: Josh Gilliam <josh@quick.net>
#
# $Id: Makefile,v 1.1.1.1 1998/11/15 21:25:16 nectar Exp $
#
DISTNAME= pathchar-a1-freebsd-3.0
PKGNAME= pathchar-a1
CATEGORIES= net
MASTER_SITES= ftp://ftp.ee.lbl.gov/pathchar/
MAINTAINER= josh@quick.net
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "aout"
DISTNAME= pathchar-a0-freebsd-2.2
PKGNAME= pathchar-a0
.endif
NO_BUILD= yes
NO_WRKSUBDIR= yes
ZCAT?= zcat
TAR?= tar
# wierd .. pathchar-a0 is a gzip'd gzip'd tar, while pathchar-a1
# is just a tar. both have the extension .tar.gz though...
.if ${PORTOBJFORMAT} == "aout"
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
@for file in ${EXTRACT_ONLY}; do \
if ! (cd ${WRKDIR} && ${ZCAT} ${DISTDIR}/$$file | \
${TAR} ${EXTRACT_BEFORE_ARGS} - ${EXTRACT_AFTER_ARGS}); \
then \
exit 1; \
fi \
done
.else
EXTRACT_BEFORE_ARGS= -xf
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pathchar ${PREFIX}/bin
${INSTALL_DATA} ${FILESDIR}/README.pathchar \
${PREFIX}/share/doc/README.pathchar
.include <bsd.port.post.mk>
|