freebsd-ports/comms/nec2c/Makefile
Baptiste Daroussin 40d981465f Create at least a bit more proper libraries:
- run ranlib on the static library
- give a soname to the shared library
- make the real file the the library with a version in the name
- make the .so the symlink

Bump portrevision for the ports using the library
2015-05-30 08:27:46 +00:00

26 lines
702 B
Makefile

# Created by: db
# $FreeBSD$
PORTNAME= nec2c
PORTVERSION= .9
PORTREVISION= 2
CATEGORIES= comms hamradio
MASTER_SITES= http://nec-archives.pa3kj.com/ \
LOCAL/db
DISTNAME= nec2c
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Used to calculate antenna patterns useful to ham radio
LIB_DEPENDS= libccm.so:${PORTSDIR}/math/ccmath
OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nec2c ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/Input/*.nec ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/Input/*.NEC ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>