0bb78c6c9d
their files via a custom do-install target.
31 lines
889 B
Makefile
31 lines
889 B
Makefile
# $NetBSD: Makefile,v 1.24 2008/03/03 19:21:38 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= freebsd_lib-2.2.7
|
|
PKGREVISION= 3
|
|
CATEGORIES= emulators
|
|
MASTER_SITES= http://www.flame.org/NetBSD/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Libraries necessary for FreeBSD compatibility, including XFree86
|
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-i386
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/emul/freebsd
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/emul/freebsd/var/run
|
|
(cd ${WRKSRC} && ${FIND} usr -type d -print) | \
|
|
(cd ${DESTDIR}${PREFIX}/emul/freebsd && \
|
|
${XARGS} ${INSTALL_DATA_DIR})
|
|
cd ${WRKSRC} && for file in `${FIND} usr -name '*.*' -print`; do \
|
|
${INSTALL_DATA} $$file \
|
|
${DESTDIR}${PREFIX}/emul/freebsd/$$file; \
|
|
done
|
|
${TOUCH} ${DESTDIR}${PREFIX}/emul/freebsd/var/run/ld.so.hints
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|