1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/comms/snap7/Makefile
Bernhard Froehlich 64a1455faf
comms/snap7: Add CPE information
Approved by:    portmgr (blanket)
2021-09-20 14:25:58 +00:00

33 lines
715 B
Makefile

# Created by: Vladimir Grebenschikov
PORTNAME= snap7
PORTVERSION= 1.4.2
DISTVERSIONPREFIX= full-
CATEGORIES= comms
MASTER_SITES= SF/snap7/${PORTVERSION}
EXTRACT_SUFX= .7z
MAINTAINER= vova@fbsd.ru
COMMENT= Multi-platform Ethernet S7 PLC communication suite
LICENSE= GPLv3
USES= cpe gmake
USE_LDCONFIG= yes
CPE_VENDOR= snap7_project
WRKSRC_SUBDIR= build/unix
MAKE_ARGS= CC=${CC} CXX=${CXX} LinkerName=${CXX} SharedObjectLinkerName="${CXX} -shared -fPIC"
PLIST_FILES= lib/libsnap7.so include/snap7.h share/examples/snap7/c-cpp/snap7.cpp
SNAP_ARCH= ${ARCH:S/amd64/x86_64/:S/armv6/arm_v6/}
MAKEFILE= ${SNAP_ARCH}_bsd.mk
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsnap7.so
.include <bsd.port.mk>