diff options
author | pawel <pawel@FreeBSD.org> | 2014-04-09 23:15:50 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-04-09 23:15:50 +0800 |
commit | 50c54fd355c623d2722b000fa13637bc5a984b5b (patch) | |
tree | 93c3dc2c33324adc387b409231383dd668d15198 /emulators | |
parent | 65edc7d9cbec6656f96f37f39f34dfcf2567a749 (diff) | |
download | freebsd-ports-gnome-50c54fd355c623d2722b000fa13637bc5a984b5b.tar.gz freebsd-ports-gnome-50c54fd355c623d2722b000fa13637bc5a984b5b.tar.zst freebsd-ports-gnome-50c54fd355c623d2722b000fa13637bc5a984b5b.zip |
- Add staging support
- Convert to new LIB_DEPENDS format, USES=gmake
- Register CONFLICTS
- Define DOCS option
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/dynamips/Makefile | 39 |
1 files changed, 16 insertions, 23 deletions
diff --git a/emulators/dynamips/Makefile b/emulators/dynamips/Makefile index 349c1ea825b7..ce19c77ba9b7 100644 --- a/emulators/dynamips/Makefile +++ b/emulators/dynamips/Makefile @@ -10,25 +10,22 @@ MASTER_SITES= http://www.ipflow.utc.fr/dynamips/ MAINTAINER= ports@FreeBSD.org COMMENT= Cisco 3600/7200 Simulator -LIB_DEPENDS= elf.0:${PORTSDIR}/devel/libelf +LIB_DEPENDS= libelf.so:${PORTSDIR}/devel/libelf -USE_GMAKE= yes +USES= gmake ALL_TARGET= ${PORTNAME} nvram_export MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}\ - PTHREAD_CFLAGS=${PTHREAD_CFLAGS}\ PTHREAD_LIBS=${PTHREAD_LIBS} MAKE_JOBS_UNSAFE= yes -PLIST_FILES= bin/${PORTNAME} bin/nvram_export -.if !defined(NOPORTDOCS) +CONFLICTS= dynamips-community-[0-9]* dynamips-devel-[0-9]* + +PLIST_FILES= bin/${PORTNAME} bin/nvram_export man/man1/${PORTNAME}.1.gz \ + man/man1/nvram_export.1.gz man/man7/hypervisor_mode.7.gz PORTDOCS= README README.hypervisor -.endif -.if !defined(NO_INSTALL_MANPAGES) -MAN1= ${PORTNAME}.1 nvram_export.1 -MAN7= hypervisor_mode.7 -.endif -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> .if ${ARCH} == "i386" @@ -42,17 +39,13 @@ DYNAMIPS_ARCH= "nojit" MAKE_ENV+= HAS_POSIX_MEMALIGN=1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.hypervisor ${DOCSDIR} -.endif -.if !defined(NO_INSTALL_MANPAGES) - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/nvram_export.1 ${PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/hypervisor_mode.7 ${PREFIX}/man/man7 -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.hypervisor ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/nvram_export.1 ${STAGEDIR}${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/hypervisor_mode.7 ${STAGEDIR}${PREFIX}/man/man7 .include <bsd.port.post.mk> |