diff options
Diffstat (limited to 'pkgtools/x11-links/Makefile')
-rw-r--r-- | pkgtools/x11-links/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgtools/x11-links/Makefile b/pkgtools/x11-links/Makefile new file mode 100644 index 00000000000..1f54a19bfa1 --- /dev/null +++ b/pkgtools/x11-links/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/08/29 22:24:49 jlam Exp $ + +DISTNAME= x11-links-0.2 +CATEGORIES= pkgtools x11 +MASTER_SITES= # empty +DISTFILES= # empty + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt +COMMENT= shadow tree of links to X11R6 headers and libraries + +EXTRACT_ONLY= # empty +NO_CHECKSUM= # defined +NO_WRKSUBDIR= # defined +NO_BUILD= # defined +NO_MTREE= # defined +USE_X11= # defined + +PLIST_SRC= ${WRKDIR}/.PLIST_SRC +BUILDLINK_X11_SUBDIR= share/x11-links + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/${BUILDLINK_X11_SUBDIR} + cd ${BUILDLINK_DIR} && \ + ${PAX} -rw include lib ${PREFIX}/${BUILDLINK_X11_SUBDIR} + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/${BUILDLINK_X11_SUBDIR} + ${CAT} ${PKGDIR}/PLIST > ${PLIST_SRC} + cd ${PREFIX}; ${FIND} ${BUILDLINK_X11_SUBDIR} \! -type d -print \ + | ${SED} "s|^\./||g" | ${SORT} -u >> ${PLIST_SRC} + ${ECHO} "@unexec ${RM} -rf %D/${BUILDLINK_X11_SUBDIR}" >> ${PLIST_SRC} + +.include "buildlink.mk" +.include "../../mk/bsd.pkg.mk" |