pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/attr Install include files and full libraries.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6eaac3b440e4
branches:  trunk
changeset: 351534:6eaac3b440e4
user:      markd <markd%pkgsrc.org@localhost>
date:      Sun Aug 21 21:09:27 2016 +0000

description:
Install include files and full libraries.

diffstat:

 sysutils/attr/Makefile      |  10 +++++++---
 sysutils/attr/PLIST         |   9 ++++++---
 sysutils/attr/buildlink3.mk |  13 +++++++++++++
 3 files changed, 26 insertions(+), 6 deletions(-)

diffs (71 lines):

diff -r bb6e938ca218 -r 6eaac3b440e4 sysutils/attr/Makefile
--- a/sysutils/attr/Makefile    Sun Aug 21 20:26:36 2016 +0000
+++ b/sysutils/attr/Makefile    Sun Aug 21 21:09:27 2016 +0000
@@ -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 @@
 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 @@
 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 -r bb6e938ca218 -r 6eaac3b440e4 sysutils/attr/PLIST
--- a/sysutils/attr/PLIST       Sun Aug 21 20:26:36 2016 +0000
+++ b/sysutils/attr/PLIST       Sun Aug 21 21:09:27 2016 +0000
@@ -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 -r bb6e938ca218 -r 6eaac3b440e4 sysutils/attr/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/attr/buildlink3.mk       Sun Aug 21 21:09:27 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index