diff --git a/net/gmid/Makefile b/net/gmid/Makefile index 047a2d974341..77f762ac6788 100644 --- a/net/gmid/Makefile +++ b/net/gmid/Makefile @@ -1,36 +1,40 @@ PORTNAME= gmid DISTVERSION= 2.0 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://github.com/omar-polo/${PORTNAME}/releases/download/${DISTVERSION}/ \ https://ftp.omarpolo.com/ MAINTAINER= freebsd@omarpolo.com COMMENT= Simple and secure Gemini server WWW= https://gmid.omarpolo.com LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent.so:devel/libevent USES= localbase pkgconfig ssl USE_RC_SUBR= gmid HAS_CONFIGURE= yes TEST_TARGET= regress USERS= _gmid GROUPS= _gmid CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc +post-patch: + @${REINPLACE_CMD} -e 's|/man|/share/man|' ${WRKSRC}/configure + post-install: ${INSTALL_DATA} ${FILESDIR}/gmid.conf.sample \ ${STAGEDIR}${PREFIX}/etc/ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gemexp @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gg @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gmid @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/titan .include diff --git a/net/gmid/pkg-plist b/net/gmid/pkg-plist index db4157f2d0cc..ff5022979e2e 100644 --- a/net/gmid/pkg-plist +++ b/net/gmid/pkg-plist @@ -1,10 +1,10 @@ @sample etc/gmid.conf.sample bin/gemexp bin/gg bin/gmid bin/titan -man/man1/gemexp.1.gz -man/man1/gg.1.gz -man/man1/titan.1.gz -man/man5/gmid.conf.5.gz -man/man8/gmid.8.gz +share/man/man1/gemexp.1.gz +share/man/man1/gg.1.gz +share/man/man1/titan.1.gz +share/man/man5/gmid.conf.5.gz +share/man/man8/gmid.8.gz