freebsd-ports/net-mgmt/netmagis-topo/Makefile
Mathieu Arnold 8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00

28 lines
639 B
Makefile

# Created by: Pierre David <pdagog@gmail.com>, Jean Benoit <jean@unistra.fr>
# $FreeBSD$
PORTNAME= netmagis
PKGNAMESUFFIX= -topo
COMMENT= Netmagis topology module
RUN_DEPENDS= netmagis-config:net-mgmt/netmagis-common \
rancid-run:net-mgmt/rancid3 \
fping:net/fping
NO_ARCH= # no
USE_RC_SUBR= topographd toposendd
SUB_LIST= TCLSH=${TCLSH}
MASTERDIR= ${.CURDIR}/../netmagis-common
FILESDIR= ${.CURDIR}/files
PKGMESSAGE= ${.CURDIR}/pkg-message
PLIST= ${.CURDIR}/pkg-plist
ALL_TARGET=build${PKGNAMESUFFIX?=}
post-install:
@${MKDIR} ${STAGEDIR}/var/netmagis/eqgen ${STAGEDIR}/var/netmagis/eqvirt
.include "${MASTERDIR}/Makefile"