net/sl2tps: Move man pages to share/man

Approved by:	portmgr (blanket)
This commit is contained in:
Christian Weisgerber 2024-03-14 14:08:41 +01:00
parent 5c00cf3d35
commit e989f0fd5a
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= sl2tps
PORTVERSION= 0.4.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= SF/libpdel/${PORTNAME}/${PORTVERSION}
@ -19,6 +19,7 @@ post-patch:
@${REINPLACE_CMD} -e \
's|$${PREFIX}/include|$${LOCALBASE}/include|g ; \
/-g/s|^CFLAGS|#CFLAGS|g ; \
s|$${PREFIX}/lib|$${LOCALBASE}/lib|g' ${WRKSRC}/Makefile
s|$${PREFIX}/lib|$${LOCALBASE}/lib|g ; \
s|$${PREFIX}/man|$${PREFIX}/share/man|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
bin/sl2tps
@sample %%ETCDIR%%/config.xml.sample
man/man1/sl2tps.1.gz
share/man/man1/sl2tps.1.gz