blob: 23c4a37d9bc76f99ac9535a5a3320f220c64a1a0 (
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
|
# New ports collection makefile for: hfsplusutils
# Date created: 2003-11-11
# Whom: Josh Elsasser <jre@vineyard.net>
#
# $FreeBSD$
#
PORTNAME= hfsplusutils
PORTVERSION= 1.0.4
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.penguinppc.org/users/hasi/
DISTNAME= hfsplus_${PORTVERSION}.src
MAINTAINER= jre@vineyard.net
COMMENT= Utilities for accessing HFS+ filesystems
USE_BZIP2= yes
USE_REINPLACE= yes
USE_LIBTOOL_VER= 13
INSTALLS_SHLIB= yes
USE_AUTOMAKE_VER= 15
AUTOMAKE_ARGS= --add-missing
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/hfsplus-${PORTVERSION}
MAN1= hfsp.1
DOCS= AUTHORS ChangeLog NEWS README index.html doc/*.html
pre-patch:
@${REINPLACE_CMD} -e 's/^CFLAGS.*/CFLAGS=@CFLAGS@/' \
${WRKSRC}/src/Makefile.am ${WRKSRC}/libhfsp/src/Makefile.am
@${REINPLACE_CMD} -e 's,doc/,,' ${WRKSRC}/index.html
pre-configure:
@cd ${WRKSRC} && ${ACLOCAL} && ${AUTOHEADER}
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/hfsp.man ${MAN1PREFIX}/man/man1/hfsp.1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not build on FreeBSD 4.x or earlier"
.endif
.include <bsd.port.post.mk>
|