View | Details | Raw Unified | Return to bug 261135
Collapse All | Expand All

(-)net/libnatpmp/Makefile (-7 / +4 lines)
Lines 1-9 Link Here
1
# Created by: Hung-Yi Chen <gaod@hychen.org>
1
# Created by: Hung-Yi Chen <gaod@hychen.org>
2
2
3
PORTNAME=	libnatpmp
3
PORTNAME=	libnatpmp
4
PORTVERSION=	20150609
4
PORTVERSION=	20211229
5
CATEGORIES=	net
5
CATEGORIES=	net
6
MASTER_SITES=	http://miniupnp.free.fr/files/
7
6
8
MAINTAINER=	gaod@hychen.org
7
MAINTAINER=	gaod@hychen.org
9
COMMENT=	NAT-PMP lightweight library
8
COMMENT=	NAT-PMP lightweight library
Lines 15-20 USE_LDCONFIG= yes Link Here
15
14
16
MAKE_ARGS+=	CC="${CC}"
15
MAKE_ARGS+=	CC="${CC}"
17
MAKE_ENV+=	INSTALLPREFIX=${STAGEDIR}${PREFIX}
16
MAKE_ENV+=	INSTALLPREFIX=${STAGEDIR}${PREFIX}
17
USE_GITHUB=	yes
18
GH_ACCOUNT=	miniupnp
19
GH_TAGNAME=	4b8b4470d78a
18
20
19
PLIST_FILES=	bin/natpmpc \
21
PLIST_FILES=	bin/natpmpc \
20
		include/natpmp.h \
22
		include/natpmp.h \
Lines 22-32 PLIST_FILES= bin/natpmpc \ Link Here
22
		lib/libnatpmp.so \
24
		lib/libnatpmp.so \
23
		lib/libnatpmp.so.1
25
		lib/libnatpmp.so.1
24
26
25
post-patch:
26
	@${REINPLACE_CMD} -e 's/^LIBSPEC //' \
27
		-e '/declspec\.h/d' \
28
		${WRKSRC}/natpmp.h
29
30
post-install:
27
post-install:
31
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/natpmpc \
28
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/natpmpc \
32
		${STAGEDIR}${PREFIX}/lib/libnatpmp.so.1
29
		${STAGEDIR}${PREFIX}/lib/libnatpmp.so.1
(-)net/libnatpmp/distinfo (-4 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1489487575
1
TIMESTAMP = 1641957294
2
SHA256 (libnatpmp-20150609.tar.gz) = e1aa9c4c4219bc06943d6b2130f664daee213fb262fcb94dd355815b8f4536b0
2
SHA256 (miniupnp-libnatpmp-20211229-4b8b4470d78a_GH0.tar.gz) = 11cd81c30cc53dd16e7f931ffc997dbcc057a5a14414c67071151f8f70c604c1
3
SIZE (libnatpmp-20150609.tar.gz) = 24392
3
SIZE (miniupnp-libnatpmp-20211229-4b8b4470d78a_GH0.tar.gz) = 26743
4
- 

Return to bug 261135