]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/mk/bsd.pkg.mk
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / mk / bsd.pkg.mk
1 # $FreeBSD$
2
3 WRKDIR=${.OBJDIR}
4 .if ${.OBJDIR} == ${.CURDIR}
5 WRKDIR=${.CURDIR}/work
6 .endif
7 NO_WRKSUBDIR=YES
8 NO_CHECKSUM=YES
9 NO_BUILD=YES
10
11 fetch:
12 extract:
13 patch:
14 configure:
15 build:
16
17 .if target(__<bsd.obj.mk>__)
18 clean: do-clean
19 .if ${CANONICALOBJDIR} != ${.CURDIR} && exists(${CANONICALOBJDIR}/)
20         @rm -rf ${CANONICALOBJDIR}
21 .else
22         @if [ -L ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi
23 .if defined(CLEANFILES) && !empty(CLEANFILES)
24         rm -f ${CLEANFILES}
25 .endif
26 .if defined(CLEANDIRS) && !empty(CLEANDIRS)
27         rm -rf ${CLEANDIRS}
28 .endif
29 .endif
30 .endif
31
32 .if !target(beforeinstall)
33 beforeinstall:
34 .endif
35 .if !target(afterinstall)
36 afterinstall:
37 .endif
38
39 install: install-message check-categories check-conflicts \
40          run-depends lib-depends pre-install pre-install-script \
41          generate-plist check-already-installed \
42          check-umask install-mtree pre-su-install \
43          pre-su-install-script \
44          beforeinstall realinstall afterinstall \
45          add-plist-info post-install post-install-script \
46          compress-man run-ldconfig fake-pkg
47
48 .include <bsd.port.mk>