summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-08-21 21:09:27 +0000
committermarkd <markd@pkgsrc.org>2016-08-21 21:09:27 +0000
commite5374bae594c764e74a10a05c3b9770f4a7c06fc (patch)
tree743dc40a71f373ed879981b74ae3df481fea0468 /sysutils
parent10e59e4da23dac82024f8b1540b9c028734dcd90 (diff)
downloadpkgsrc-e5374bae594c764e74a10a05c3b9770f4a7c06fc.tar.gz
Install include files and full libraries.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/attr/Makefile10
-rw-r--r--sysutils/attr/PLIST9
-rw-r--r--sysutils/attr/buildlink3.mk13
3 files changed, 26 insertions, 6 deletions
diff --git a/sysutils/attr/Makefile b/sysutils/attr/Makefile
index f3aa537ec0d..c000af5802b 100644
--- a/sysutils/attr/Makefile
+++ b/sysutils/attr/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2016/02/29 12:29:56 jperkin Exp $
+# $NetBSD: Makefile,v 1.4 2016/08/21 21:09:27 markd Exp $
ATTR_VERS= 2.4.47
PKGNAME= attr-${ATTR_VERS}
DISTNAME= attr-${ATTR_VERS}.src
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://download.savannah.gnu.org/releases/attr/
@@ -11,7 +12,7 @@ HOMEPAGE= http://savannah.nongnu.org/projects/attr
COMMENT= Commands for Manipulating Filesystem Extended Attributes
LICENSE= gnu-gpl-v2
-WRKSRC= ${WRKDIR}/${PKGNAME}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_TOOLS+= gmake msgfmt
USE_LIBTOOL= yes
@@ -30,7 +31,10 @@ SUBST_SED.rmldarg= -e '/version-script/d'
pre-install:
cd ${WRKSRC}/libattr && env ${MAKE_ENV} \
${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} \
- -f ${MAKE_FILE} install-lib
+ -f ${MAKE_FILE} install-lib install-dev
+ cd ${WRKSRC}/include && env ${MAKE_ENV} \
+ ${MAKE_PROGRAM} ${INSTALL_MAKE_FLAGS} \
+ -f ${MAKE_FILE} install-dev
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/attr/PLIST b/sysutils/attr/PLIST
index 41dd4488455..d2c47f0f919 100644
--- a/sysutils/attr/PLIST
+++ b/sysutils/attr/PLIST
@@ -1,9 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2014/07/22 08:00:36 manu Exp $
+@comment $NetBSD: PLIST,v 1.2 2016/08/21 21:09:27 markd Exp $
bin/attr
bin/getfattr
bin/setfattr
-lib/libattr.so.1
-lib/libattr.so.1.1.0
+include/attr/attributes.h
+include/attr/error_context.h
+include/attr/libattr.h
+include/attr/xattr.h
+lib/libattr.la
man/man1/attr.1
man/man1/getfattr.1
man/man1/setfattr.1
diff --git a/sysutils/attr/buildlink3.mk b/sysutils/attr/buildlink3.mk
new file mode 100644
index 00000000000..54961cf2025
--- /dev/null
+++ b/sysutils/attr/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/08/21 21:09:27 markd Exp $
+
+BUILDLINK_TREE+= attr
+
+.if !defined(ATTR_BUILDLINK3_MK)
+ATTR_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.attr+= attr>=2.4.47nb1
+BUILDLINK_PKGSRCDIR.attr?= ../../sysutils/attr
+
+.endif # ATTR_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -attr