blob: fce1ceb869c246ba717cbedb327a4a3ed18fddd2 (
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
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.26 2005/04/11 18:44:54 salo Exp $
DISTNAME= sharutils-4.2.1
PKGNAME= g${DISTNAME}
PKGREVISION= 6
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GNU:=sharutils/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/sharutils/sharutils.html
COMMENT= Allow packing and unpacking of shell archives
BUILD_USES_MSGFMT= yes
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install install-man
USE_MAKEINFO= YES
INFO_FILES= remsync.info sharutils.info
CONFIGURE_ARGS+= --disable-uucode
.include "../../mk/bsd.prefs.mk"
.if empty(OPSYS:M*BSD)
DEPENDS+= mktemp>=1.5:../../sysutils/mktemp
.endif
# gettext 0.11+ has renamed internal symbols, and gsharutils is
# being a very bad neighbor by using them directly. To fix, force
# use of gettext >= 0.11, and rename the symbol in gsharutils. -tv
#
.if ${OPSYS} != "Linux"
# XXX ...but don't do this on Linux, where glibc-internalized gettext
# always uses the non-prefixed symbols.
#
BUILDLINK_DEPENDS.gettext+= gettext-lib>=0.11
CPPFLAGS+= -D_nl_default_dirname=libintl_nl_default_dirname
.endif
.if defined(GNU_PROGRAM_PREFIX)
CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX}
.endif
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
post-patch:
@${TOUCH} ${TOUCH_FLAGS} ${WRKSRC}/po/sharutils.pot
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|