Skip to content

Commit

Permalink
user-destdir support
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonn committed Jul 8, 2009
1 parent f0df751 commit a4f0f26
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
8 changes: 5 additions & 3 deletions devel/isect/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.36 2008/01/18 05:14:33 tnn Exp $
# $NetBSD: Makefile,v 1.37 2009/07/08 16:19:08 joerg Exp $
#

DISTNAME= isect-1.6.2
Expand All @@ -10,6 +10,8 @@ MAINTAINER= [email protected]
HOMEPAGE= http://isectd.sourceforge.net/
COMMENT= Open source middleware daemon

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= yes
USE_LIBTOOL= yes
PTHREAD_OPTS+= require
Expand All @@ -24,9 +26,9 @@ INSTALLATION_DIRS= ${DOCDIR} ${EGDIR}

post-install:
for file in ${WRKSRC}/doc/*.html; do \
${INSTALL_DATA} $${file} ${DOCDIR}; \
${INSTALL_DATA} $${file} ${DESTDIR}${DOCDIR}; \
done
${INSTALL_DATA} ${WRKSRC}/COPYING ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${EGDIR}

.include "../../www/libwww/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Expand Down
4 changes: 3 additions & 1 deletion devel/libmimedir/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2007/03/24 19:21:23 joerg Exp $
# $NetBSD: Makefile,v 1.6 2009/07/08 16:18:33 joerg Exp $
#

DISTNAME= libmimedir-0.5
Expand All @@ -9,6 +9,8 @@ MAINTAINER= [email protected]
HOMEPAGE= http://sourceforge.net/projects/libmimedir/
COMMENT= MIME Directory Profile parser library (RFC 2425)

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= yes
USE_LIBTOOL= yes

Expand Down
4 changes: 2 additions & 2 deletions devel/libmimedir/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.5 2005/12/29 12:05:19 joerg Exp $
$NetBSD: distinfo,v 1.6 2009/07/08 16:18:33 joerg Exp $

SHA1 (libmimedir-0.5.tar.gz) = d54856d19d360ade0fa3b503e7c7e3cab0dfc59a
RMD160 (libmimedir-0.5.tar.gz) = e943e0a9c0191b38168fa2a0c75f5ab9b8d997a4
Size (libmimedir-0.5.tar.gz) = 283581 bytes
SHA1 (patch-aa) = 568302422397960a36e4f5581d22023457d15937
SHA1 (patch-aa) = 75207872d248f012dd156a4a114e445aa93ab250
SHA1 (patch-ab) = daf643a5bc66b573837244941c527f88fea49d27
10 changes: 6 additions & 4 deletions devel/libmimedir/patches/patch-aa
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.2 2005/10/17 08:28:58 wiz Exp $
$NetBSD: patch-aa,v 1.3 2009/07/08 16:18:34 joerg Exp $

--- Makefile.in.orig 2005-10-17 01:19:55.000000000 +0200
+++ Makefile.in
Expand All @@ -11,13 +11,15 @@ $NetBSD: patch-aa,v 1.2 2005/10/17 08:28:58 wiz Exp $

libmimedir.a: ${OBJS}
ar rc libmimedir.a ${OBJS}
@@ -56,8 +56,7 @@ check: all
@@ -55,9 +55,8 @@ check: all
./test

install: all
${INSTALL} -m 444 libmimedir.h ${includedir}
- ${INSTALL} -m 444 libmimedir.h ${includedir}
- ${INSTALL} -m 444 libmimedir.a ${libdir}
- $(LIBTOOL) --mode=install ${INSTALL} -c -m 444 libmimedir.la ${libdir}/libmimedir.la
+ $(LIBTOOL) --mode=install ${BSD_INSTALL_LIB} libmimedir.la ${libdir}/libmimedir.la
+ ${INSTALL} -m 444 libmimedir.h ${DESTDIR}${includedir}
+ $(LIBTOOL) --mode=install ${BSD_INSTALL_LIB} libmimedir.la ${DESTDIR}${libdir}/libmimedir.la

clean:
rm -f $(OBJS) $(LOBJS) *.a *.la *.core
4 changes: 3 additions & 1 deletion filesystems/fuse-chironfs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/04/09 03:33:12 manu Exp $
# $NetBSD: Makefile,v 1.3 2009/07/08 16:22:44 joerg Exp $
#

DISTNAME= chironfs-1.1.1
Expand All @@ -11,6 +11,8 @@ MAINTAINER= [email protected]
HOMEPAGE= http://code.google.com/p/chironfs/
COMMENT= Replicating file system

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= yes

.include "../../mk/fuse.buildlink3.mk"
Expand Down

0 comments on commit a4f0f26

Please sign in to comment.