Use BUILD_DIRS and INSTALL_DIRS, instead of custom post-build and post-install
targets.
This commit is contained in:
parent
a521d4d1a4
commit
26af44ee64
1 changed files with 3 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2003/05/05 16:59:02 jmmv Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2003/06/07 10:34:09 jmmv Exp $
|
||||
|
||||
DISTNAME= ettercap-0.6.9
|
||||
PKGREVISION= 1
|
||||
|
@ -19,11 +19,8 @@ USE_NCURSES= # newpad(), MAX_FORM_COMMAND
|
|||
PTHREAD_OPTS+= require
|
||||
MAKE_ENV+= MACHINE_ARCH=${MACHINE_ARCH}
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC}/plugins ; ${MAKE_ENV} ${MAKE} all
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC}/plugins ; ${MAKE_ENV} ${MAKE} install
|
||||
BUILD_DIRS= ${WRKSRC} ${WRKSRC}/plugins
|
||||
INSTALL_DIRS= ${WRKSRC} ${WRKSRC}/plugins
|
||||
|
||||
.include "../../devel/ncurses/buildlink2.mk"
|
||||
.include "../../mk/pthread.buildlink2.mk"
|
||||
|
|
Loading…
Reference in a new issue