138451Smsmith# $FreeBSD: releng/10.3/share/mk/bsd.pkg.mk 139068 2004-12-20 15:46:56Z paul $ 238451Smsmith 338451SmsmithWRKDIR=${.OBJDIR} 438451Smsmith.if ${.OBJDIR} == ${.CURDIR} 538451SmsmithWRKDIR=${.CURDIR}/work 638451Smsmith.endif 738451SmsmithNO_WRKSUBDIR=YES 838451SmsmithNO_CHECKSUM=YES 938451SmsmithNO_BUILD=YES 1038451Smsmith 1138451Smsmithfetch: 1238451Smsmithextract: 1338451Smsmithpatch: 1438451Smsmithconfigure: 1538451Smsmithbuild: 1638451Smsmith 1738451Smsmith.if target(__<bsd.obj.mk>__) 1838451Smsmithclean: do-clean 1938451Smsmith.if ${CANONICALOBJDIR} != ${.CURDIR} && exists(${CANONICALOBJDIR}/) 2038451Smsmith @rm -rf ${CANONICALOBJDIR} 2138451Smsmith.else 2238451Smsmith @if [ -L ${.CURDIR}/obj ]; then rm -f ${.CURDIR}/obj; fi 2338451Smsmith.if defined(CLEANFILES) && !empty(CLEANFILES) 2438451Smsmith rm -f ${CLEANFILES} 2538451Smsmith.endif 2638451Smsmith.if defined(CLEANDIRS) && !empty(CLEANDIRS) 2738451Smsmith rm -rf ${CLEANDIRS} 2838451Smsmith.endif 2938451Smsmith.endif 3038451Smsmith.endif 3138451Smsmith 3238451Smsmith.if !target(beforeinstall) 3338451Smsmithbeforeinstall: 3438451Smsmith.endif 3538451Smsmith.if !target(afterinstall) 3638451Smsmithafterinstall: 3738451Smsmith.endif 3838451Smsmith 3938451Smsmithinstall: install-message check-categories check-conflicts \ 4038451Smsmith run-depends lib-depends pre-install pre-install-script \ 4138451Smsmith generate-plist check-already-installed \ 4238451Smsmith check-umask install-mtree pre-su-install \ 4338451Smsmith pre-su-install-script \ 4438451Smsmith beforeinstall realinstall afterinstall \ 4538451Smsmith add-plist-info post-install post-install-script \ 4638451Smsmith compress-man run-ldconfig fake-pkg 4738451Smsmith 4838451Smsmith.include <bsd.port.mk> 4938451Smsmith