blob: 998b37ac2927125052e2612513b31a679421e574 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.9 2002/01/27 10:32:31 markd Exp $
#
# NOTE: If you update this package, then you'll likely need to also update
# the x11-links dependency in x11.buildlink.mk to the correct version,
# usually the most recent.
DISTNAME= x11-links-0.6
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
WRKSRC= ${WRKDIR}
NO_BUILD= # defined
NO_MTREE= # defined
USE_X11= # defined
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
BUILDLINK_X11_SUBDIR= share/x11-links
_FOR_X11_LINKS_ONLY=- # needed to use x11-links/buildlink.mk
.include "../../mk/bsd.prefs.mk"
.if !exists(${X11BASE}/include/X11/X.h)
IGNORE= "x11-links requires X headers to be installed"
.endif
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"
|