blob: 3f5870770cc6d42fbcc43e9ee2def0bd43cf4247 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# New ports collection makefile for: unadf
# Date created: 1 October 2000
# Whom: Per Wigren
#
# $FreeBSD$
#
PORTNAME= unadf
PORTVERSION= 0.7.12
CATEGORIES= archivers
MASTER_SITES= http://lclevy.free.fr/adflib/
DISTNAME= adflib-${DISTVERSION}
MAINTAINER= uffe@uffe.org
COMMENT= Extracts files from .adf-files used by Amiga emulators
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
MAKE_JOBS_UNSAFE= yes
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
#
# args below adapted from adflib: autogen.sh
#
LIBTOOLIZE_ARGS=--copy --force
AUTOMAKE_ARGS= --add-missing
#
# ports/aclocal workaround:
#
# aclocal only scans version-specific dir: ${LOCALBASE}/share/aclocal-<version>/
# hence aclocal does not find 3rd party m4 files (libtool.m4 etc)
# http://www.freebsd.org/cgi/query-pr.cgi?ports/98435
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
PLIST_FILES= bin/unadf
DOCS= API.txt api_device.html api_dir.html api_env.html api_file.html \
api_index.html api_native.html api_salv.html api_volume.html version0.7.9d_gary.txt
FAQS= FAQ/adf_info.html FAQ/adf_info.txt FAQ/adf_info_V0_9.txt
FAQSIMGS= FAQ/image/adf_dir.gif FAQ/image/adf_file.gif
PORTDOCS= *
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/examples/unadf ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
${MKDIR} ${DOCSDIR}/FAQ
.for i in ${FAQS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}/FAQ
.endfor
${MKDIR} ${DOCSDIR}/FAQ/image
.for i in ${FAQSIMGS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}/FAQ/image
.endfor
.endif
.include <bsd.port.mk>
|