mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Support staging
This commit is contained in:
parent
5d9e1ffc59
commit
aaeafb8363
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346446
1 changed files with 2 additions and 3 deletions
|
@ -10,7 +10,7 @@ EXTRACT_SUFX= .tgz
|
||||||
MAINTAINER= rand@meridian-enviro.com
|
MAINTAINER= rand@meridian-enviro.com
|
||||||
COMMENT= Nagios console monitor
|
COMMENT= Nagios console monitor
|
||||||
|
|
||||||
LIB_DEPENDS= strfunc.9:${PORTSDIR}/devel/libstrfunc
|
LIB_DEPENDS= libstrfunc.so:${PORTSDIR}/devel/libstrfunc
|
||||||
|
|
||||||
PLIST_FILES= bin/nagcon
|
PLIST_FILES= bin/nagcon
|
||||||
|
|
||||||
|
@ -20,7 +20,6 @@ CPPFILES= utils.cpp br.cpp nc.cpp pl.cpp
|
||||||
CFLAGS+= -DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include
|
CFLAGS+= -DVERSION=\"${PORTVERSION}\" -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -lncurses -lstdc++ -L${LOCALBASE}/lib -lstrfunc
|
LDFLAGS+= -lncurses -lstdc++ -L${LOCALBASE}/lib -lstrfunc
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-build:
|
do-build:
|
||||||
${CC} ${CFLAGS} -c -o ${WRKSRC}/${CFILES:C/\.c//}.o ${WRKSRC}/${CFILES}
|
${CC} ${CFLAGS} -c -o ${WRKSRC}/${CFILES:C/\.c//}.o ${WRKSRC}/${CFILES}
|
||||||
.for f in ${CPPFILES}
|
.for f in ${CPPFILES}
|
||||||
|
@ -30,6 +29,6 @@ do-build:
|
||||||
-o ${WRKSRC}/${PORTNAME}
|
-o ${WRKSRC}/${PORTNAME}
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue