567a4ec668
The pkgconfig file is installed, but not listed in plist.
37 lines
751 B
Makefile
37 lines
751 B
Makefile
PORTNAME= libnatpmp
|
|
PORTVERSION= 20220122
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
|
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/pull/
|
|
PATCHFILES+= 26.patch:-p1
|
|
|
|
MAINTAINER= gaod@hychen.org
|
|
COMMENT= NAT-PMP lightweight library
|
|
WWW= https://github.com/miniupnp/libnatpmp
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USES= gmake
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= miniupnp
|
|
GH_TAGNAME= 724dc69
|
|
|
|
MAKE_ARGS+= CC="${CC}"
|
|
MAKE_ENV+= INSTALLPREFIX=${PREFIX}
|
|
|
|
PLIST_FILES= bin/natpmpc \
|
|
include/natpmp.h \
|
|
include/natpmp_declspec.h \
|
|
lib/libnatpmp.a \
|
|
lib/libnatpmp.so \
|
|
lib/libnatpmp.so.1 \
|
|
libdata/pkgconfig/natpmp.pc
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/natpmpc \
|
|
${STAGEDIR}${PREFIX}/lib/libnatpmp.so.1
|
|
|
|
.include <bsd.port.mk>
|