1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/security/sancp/Makefile
Muhammad Moinur Rahman 43ff525c66 security/sancp: Ports cleanup
- Unmute INSTALL_*
- Wrap conditional DOCS installation
- Remove pkg-install/pkg-deinstall as those have been shifted to @dir
  framework
- Update pkg-plist to make proper use of @sample and @dir
- Pass Maintainership [1]

Differential Revision:	https://reviews.freebsd.org/D1511
Submitted by:		pauls@utdallas.edu [1]
Approved by:		marino(mentor)
2015-01-13 12:31:13 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Paul Schmehl <pauls@utdallas.edu>
# $FreeBSD$
PORTNAME= sancp
PORTVERSION= 1.6.1
DISTVERSIONSUFFIX= -stable
PORTREVISION= 6
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}-stable
MAINTAINER= bofh@FreeBSD.org
COMMENT= Network connection profiler
LICENSE= QPLv1
LICENSE_NAME= Q PUBLIC LICENSE v1.0
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
ALL_TARGET= bsd
USE_RC_SUBR= sancp
USERS= sancp
GROUPS= sancp
OPTIONS_DEFINE= DOCS
PORTDOCS= CHANGES INSTALL ISSUES \
README SETUP fields.LIST
MAKE_ARGS= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LFLAGS="${LDFLAGS}"
SUB_FILES= pkg-message
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|gcc|$${CC}|g ; s|g++|$${CXX}|g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sancp \
${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/etc/sancp/sancp.conf \
${STAGEDIR}${PREFIX}/etc/sancp.conf.sample
${MKDIR} ${STAGEDIR}/var/log/sancp
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>