blob: ddb90279c7e11b49b46a2e742e79f55841968e83 (
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
|
# Created by: 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
USES= tar:bzip2
MAKE_JOBS_UNSAFE= yes
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
#
# args below adapted from adflib: autogen.sh
#
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= *
OPTIONS_DEFINE= DOCS
# XXX: work around an issue with automake-1.13 erroring out on a
# non-existent m4 directory before libtoolize creates it
pre-configure::
@${MKDIR} ${WRKSRC}/m4
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/examples/unadf ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/FAQ
.for i in ${FAQS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/FAQ
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/FAQ/image
.for i in ${FAQSIMGS}
${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/FAQ/image
.endfor
.include <bsd.port.mk>
|