diff --git a/archivers/lbzip2/Makefile b/archivers/lbzip2/Makefile index 95113b8047a4..e45894c35cc2 100644 --- a/archivers/lbzip2/Makefile +++ b/archivers/lbzip2/Makefile @@ -1,28 +1,29 @@ PORTNAME= lbzip2 PORTVERSION= 2.5 CATEGORIES= archivers MASTER_SITES= http://archive.lbzip2.org/ LOCAL/danfe LICENSE= GPLv3 MAINTAINER= danfe@FreeBSD.org COMMENT= Multi-threaded bzip2/bunzip2 filter WWW= https://lbzip2.org/ USES= tar:bzip2 GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share PLIST_FILES= bin/lbunzip2 bin/lbzcat bin/lbzip2 \ - man/man1/lbunzip2.1.gz \ - man/man1/lbzcat.1.gz \ - man/man1/lbzip2.1.gz + share/man/man1/lbunzip2.1.gz \ + share/man/man1/lbzcat.1.gz \ + share/man/man1/lbzip2.1.gz PORTDOCS= AUTHORS ChangeLog NEWS README THANKS OPTIONS_DEFINE= DOCS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/cdparanoia/Makefile b/audio/cdparanoia/Makefile index 3611f59c555b..a4ffafa2b436 100644 --- a/audio/cdparanoia/Makefile +++ b/audio/cdparanoia/Makefile @@ -1,27 +1,28 @@ PORTNAME= cdparanoia PORTVERSION= 3.9.8 PORTREVISION= 10 CATEGORIES= audio sysutils MASTER_SITES= http://www.xiph.org/paranoia/download/ DISTNAME= ${PORTNAME}-${PORTVERSION:C/^3\./III-alpha/} EXTRACT_SUFX= .src.tgz MAINTAINER= danfe@FreeBSD.org COMMENT= CDDA extraction tool (also known as ripper) WWW= https://www.xiph.org/paranoia/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/GPL -GNU_CONFIGURE= yes USES= gmake +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_LDCONFIG= yes post-patch: @${REINPLACE_CMD} -e 's/\(^ *default:\)/\1break;/' \ ${WRKSRC}/interface/utils.h post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcdda_*.so .include diff --git a/audio/cdparanoia/pkg-plist b/audio/cdparanoia/pkg-plist index ac1b107f6ed5..a6e8d4d57b67 100644 --- a/audio/cdparanoia/pkg-plist +++ b/audio/cdparanoia/pkg-plist @@ -1,12 +1,12 @@ bin/cdparanoia include/cdda_interface.h include/cdda_paranoia.h lib/libcdda_interface.a lib/libcdda_interface.so lib/libcdda_interface.so.0 lib/libcdda_interface.so.0.9.8 lib/libcdda_paranoia.a lib/libcdda_paranoia.so lib/libcdda_paranoia.so.0 lib/libcdda_paranoia.so.0.9.8 -man/man1/cdparanoia.1.gz +share/man/man1/cdparanoia.1.gz diff --git a/devel/patch/Makefile b/devel/patch/Makefile index a303446bec8a..306d44745c9c 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -1,34 +1,35 @@ PORTNAME= patch PORTVERSION= 2.7.6 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= GNU DEBIAN_POOL:dp DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PORTNAME}_${PORTVERSION}-7.debian${EXTRACT_SUFX}:dp MAINTAINER= danfe@FreeBSD.org COMMENT= GNU patch utility WWW= https://savannah.gnu.org/projects/patch/ LICENSE= GPLv3+ EXTRA_PATCHES= ${WRKDIR}/debian/patches/[^0]*.patch \ ${WRKDIR}/debian/patches/0*.patch PATCH_STRIP= -p1 TEST_DEPENDS= bash:shells/bash USES= cpe charsetfix gmake tar:xz GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --program-prefix=g CPE_VENDOR= gnu TEST_TARGET= check -PLIST_FILES= bin/gpatch man/man1/gpatch.1.gz +PLIST_FILES= bin/gpatch share/man/man1/gpatch.1.gz post-patch: @${REINPLACE_CMD} -e '/^LOG_COMPILER =/,+1s|$$(SHELL)|bash|' \ ${WRKSRC}/tests/Makefile.in .include diff --git a/editors/shed/Makefile b/editors/shed/Makefile index eb72db446271..ef19c6aca1ba 100644 --- a/editors/shed/Makefile +++ b/editors/shed/Makefile @@ -1,24 +1,25 @@ PORTNAME= shed PORTVERSION= 1.16 CATEGORIES= editors MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Simple ncurses-based pico-style hex editor WWW= https://sourceforge.net/projects/shed/ LICENSE= GPLv2 USES= ncurses GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz +PLIST_FILES= bin/${PORTNAME} share/man/man1/${PORTNAME}.1.gz PORTDOCS= AUTHORS BUGS ChangeLog README TODO OPTIONS_DEFINE= DOCS post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/gwhich/Makefile b/misc/gwhich/Makefile index 8a97c4193652..658ea48c75a8 100644 --- a/misc/gwhich/Makefile +++ b/misc/gwhich/Makefile @@ -1,25 +1,26 @@ PORTNAME= gwhich PORTVERSION= 2.21 PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= GNU/which DISTNAME= which-${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= GNU Which - Everything you never wanted in a which WWW= https://savannah.gnu.org/projects/which/ GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --program-prefix=g INFO= which PORTEXAMPLES= EXAMPLES -PLIST_FILES= bin/gwhich man/man1/gwhich.1.gz +PLIST_FILES= bin/gwhich share/man/man1/gwhich.1.gz OPTIONS_DEFINE= EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/net-p2p/btcheck/Makefile b/net-p2p/btcheck/Makefile index 3a379d41db52..3bdf9ca6a6b9 100644 --- a/net-p2p/btcheck/Makefile +++ b/net-p2p/btcheck/Makefile @@ -1,64 +1,65 @@ PORTNAME= btcheck PORTVERSION= 2.1 PORTREVISION= 1 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME} MAINTAINER= danfe@FreeBSD.org COMMENT= BitTorrent data checker and torrent file content viewer WWW= https://sourceforge.net/projects/btcheck/ LICENSE= GPLv3 GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFLICTS_INSTALL= libbt # bin/btcheck -PLIST_FILES= bin/btcheck man/man1/btcheck.1.gz +PLIST_FILES= bin/btcheck share/man/man1/btcheck.1.gz PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS OPTIONS_RADIO= SHA1 SHA1_DESC= Optimized SHA-1 calculation OPTIONS_RADIO_SHA1= BEECRYPT GCRYPT GNUTLS MBEDTLS NETTLE OPENSSL TOMCRYPT OPTIONS_DEFAULT= OPENSSL BEECRYPT_DESC= Use SHA-1 implementation from BeeCrypt BEECRYPT_LIB_DEPENDS= libbeecrypt.so:security/beecrypt BEECRYPT_USES= localbase BEECRYPT_CONFIGURE_ON= --with-beecrypt GCRYPT_DESC= Use SHA-1 implementation from GNU crypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_USES= localbase GCRYPT_CONFIGURE_ON= --with-gcrypt GNUTLS_DESC= Use SHA-1 implementation from GnuTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_USES= localbase GNUTLS_CONFIGURE_ON= --with-gnutls MBEDTLS_DESC= Use SHA-1 implementation from mbedTLS/PolarSSL MBEDTLS_LIB_DEPENDS= libmbedcrypto.so:security/mbedtls MBEDTLS_USES= localbase MBEDTLS_CONFIGURE_ON= --with-polarssl NETTLE_DESC= Use SHA-1 implementation from Nettle NETTLE_LIB_DEPENDS= libnettle.so:security/nettle NETTLE_USES= localbase NETTLE_CONFIGURE_ON= --with-nettle OPENSSL_DESC= Use SHA-1 implementation from OpenSSL OPENSSL_USES= ssl OPENSSL_CONFIGURE_ON= --with-openssl TOMCRYPT_DESC= Use SHA-1 implementation from LibTomCrypt TOMCRYPT_LIB_DEPENDS= libtomcrypt.so:security/libtomcrypt TOMCRYPT_USES= localbase TOMCRYPT_CONFIGURE_ON= --with-tomcrypt post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/distcache/Makefile b/security/distcache/Makefile index 368487aa995b..089c51d567dc 100644 --- a/security/distcache/Makefile +++ b/security/distcache/Makefile @@ -1,41 +1,42 @@ PORTNAME= distcache DISTVERSION= 1.5.1 CATEGORIES= security www MASTER_SITES= SF/distcache/1.%20distcache-devel/1.5.1 MAINTAINER= danfe@FreeBSD.org COMMENT= Distributed OpenSSL session caching tools WWW= https://distcache.sourceforge.net/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE USES= libtool ssl tar:bzip2 USE_RC_SUBR= dc_server USE_LDCONFIG= yes GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --enable-shared --with-ssl=${OPENSSLBASE} INSTALL_TARGET= install-strip SUB_LIST= NAME=dc_server PORTDOCS= ANNOUNCE BUGS CHANGES FAQ README OPTIONS_DEFINE= DOCS pre-configure: # yes, post-patch won't work in this case @${GREP} -q 'define SSLeay_version' ${OPENSSLINC}/openssl/crypto.h \ && ${REINPLACE_CMD} -e 's,SSLeay_version,OpenSSL_version,' \ ${WRKSRC}/ssl/configure || : post-install: # Only executables are stripped with `install-strip', not the libraries @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) do-test: @cd ${TEST_WRKSRC} && ${SH} devel/test.sh .include diff --git a/security/distcache/pkg-plist b/security/distcache/pkg-plist index b529b4cfd611..6a7b66f314ed 100644 --- a/security/distcache/pkg-plist +++ b/security/distcache/pkg-plist @@ -1,52 +1,52 @@ bin/dc_client bin/dc_server bin/dc_snoop bin/dc_test bin/nal_echo bin/nal_hose bin/nal_ping bin/nal_pong bin/nal_proxy bin/nal_test bin/piper bin/sslswamp include/distcache/dc_client.h include/distcache/dc_plug.h include/distcache/dc_server.h include/libnal/nal.h include/libnal/nal_devel.h include/libnal/nal_ssl.h lib/libdistcache.a lib/libdistcache.so lib/libdistcache.so.1 lib/libdistcache.so.1.0.1 lib/libdistcacheserver.a lib/libdistcacheserver.so lib/libdistcacheserver.so.1 lib/libdistcacheserver.so.1.0.1 lib/libnal.a lib/libnal.so lib/libnal.so.1 lib/libnal.so.1.0.1 lib/libnalssl.a lib/libnalssl.so lib/libnalssl.so.1 lib/libnalssl.so.1.0.1 -man/man1/dc_client.1.gz -man/man1/dc_server.1.gz -man/man1/dc_snoop.1.gz -man/man1/dc_test.1.gz -man/man1/sslswamp.1.gz -man/man2/DC_CTX_new.2.gz -man/man2/DC_PLUG_new.2.gz -man/man2/DC_PLUG_read.2.gz -man/man2/DC_SERVER_new.2.gz -man/man2/NAL_ADDRESS_new.2.gz -man/man2/NAL_BUFFER_new.2.gz -man/man2/NAL_CONNECTION_new.2.gz -man/man2/NAL_LISTENER_new.2.gz -man/man2/NAL_SELECTOR_new.2.gz -man/man2/NAL_decode_uint32.2.gz -man/man8/distcache.8.gz +share/man/man1/dc_client.1.gz +share/man/man1/dc_server.1.gz +share/man/man1/dc_snoop.1.gz +share/man/man1/dc_test.1.gz +share/man/man1/sslswamp.1.gz +share/man/man2/DC_CTX_new.2.gz +share/man/man2/DC_PLUG_new.2.gz +share/man/man2/DC_PLUG_read.2.gz +share/man/man2/DC_SERVER_new.2.gz +share/man/man2/NAL_ADDRESS_new.2.gz +share/man/man2/NAL_BUFFER_new.2.gz +share/man/man2/NAL_CONNECTION_new.2.gz +share/man/man2/NAL_LISTENER_new.2.gz +share/man/man2/NAL_SELECTOR_new.2.gz +share/man/man2/NAL_decode_uint32.2.gz +share/man/man8/distcache.8.gz share/swamp/A-client.pem share/swamp/CA.pem diff --git a/sysutils/parkverbot/Makefile b/sysutils/parkverbot/Makefile index 576667972caf..aca112eb7b5a 100644 --- a/sysutils/parkverbot/Makefile +++ b/sysutils/parkverbot/Makefile @@ -1,22 +1,23 @@ PORTNAME= parkverbot PORTVERSION= 1.5 CATEGORIES= sysutils MASTER_SITES= https://inai.de/files/parkverbot/ MAINTAINER= danfe@FreeBSD.org COMMENT= Hard disk head parking inhibitor WWW= https://inai.de/projects/parkverbot/ LICENSE= GPLv2+ LIB_DEPENDS= libHX.so:lang/libhx USES= pkgconfig tar:xz GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share -PLIST_FILES= man/man8/parkverbot.8.gz sbin/parkverbot +PLIST_FILES= share/man/man8/parkverbot.8.gz sbin/parkverbot post-install: ${RM} -r ${STAGEDIR}/lib/systemd .include diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile index 8737fc803096..837dc98453d6 100644 --- a/www/thttpd/Makefile +++ b/www/thttpd/Makefile @@ -1,63 +1,64 @@ PORTNAME= thttpd PORTVERSION= 2.29 PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.acme.com/software/thttpd/ MAINTAINER= danfe@FreeBSD.org COMMENT= Tiny/turbo/throttling HTTP server with CGI support WWW= https://www.acme.com/software/thttpd/ LICENSE= BSD2CLAUSE USES= cpe GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share MAKE_ARGS= WEBDIR=${WWWDIR} USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message thttpd.conf.sample SUB_LIST= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP} CPE_VENDOR= acme OPTIONS_DEFINE= SENDFILE REAL_IP INDEXES HTACCESS STATS LOG_UNKNOWN FLUSH_LOG OPTIONS_DEFAULT= SENDFILE REAL_IP STATS FLUSH_LOG SENDFILE_DESC= Use sendfile(2) to serve files REAL_IP_DESC= Respect (pass on) "X-Forwarded-For" header INDEXES_DESC= Generate index pages for directories HTACCESS_DESC= IP-based authorization (.htaccess) support STATS_DESC= Collect internal stats and print to system log LOG_UNKNOWN_DESC= Log unknown request headers FLUSH_LOG_DESC= fflush() the log file after each request SENDFILE_EXTRA_PATCHES= ${FILESDIR}/extra-patch-config.h REAL_IP_EXTRA_PATCHES= ${FILESDIR}/extra-patch-ip_real HTACCESS_EXTRA_PATCHES= ${FILESDIR}/extra-patch-htaccess LOG_UNKNOWN_EXTRA_PATCHES= ${FILESDIR}/extra-patch-log_unknown_headers post-patch: # To avoid conflict with other ports that also install htpasswd(1) .for f in extras/htpasswd.1 extras/htpasswd.c thttpd.8 @${REINPLACE_CMD} -e '/\.htpasswd/!s|htpasswd|t&|g' ${WRKSRC}/${f} .endfor @${REINPLACE_CMD} -e 's|/var/www|${WWWDIR}|' \ ${WRKSRC}/extras/makeweb.1 post-patch-INDEXES-off: @${REINPLACE_CMD} -e '/GENERATE_INDEXES/s|.*|/* & */|' \ ${WRKSRC}/config.h post-patch-STATS-off: @${REINPLACE_CMD} -e '/STATS_TIME/s|.*|/* & */|' \ ${WRKSRC}/config.h post-patch-FLUSH_LOG-off: @${REINPLACE_CMD} -e '/FLUSH_LOG_EVERY_TIME/s|.*|/* & */|' \ ${WRKSRC}/config.h post-install: ${INSTALL_DATA} ${WRKDIR}/thttpd.conf.sample ${STAGEDIR}${PREFIX}/etc ${PRINTF} "/var/log/thttpd.log\t ${WWWOWN}:${WWWGRP}\t640 7 * @T00\ J\t/var/run/thttpd.pid\n" > \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf .include diff --git a/www/thttpd/pkg-plist b/www/thttpd/pkg-plist index e44ccd338c07..1cf4e374df3c 100644 --- a/www/thttpd/pkg-plist +++ b/www/thttpd/pkg-plist @@ -1,15 +1,15 @@ etc/newsyslog.conf.d/thttpd.conf @sample etc/thttpd.conf.sample -man/man1/makeweb.1.gz -man/man1/thtpasswd.1.gz -man/man8/redirect.8.gz -man/man8/ssi.8.gz -man/man8/syslogtocern.8.gz -man/man8/thttpd.8.gz +share/man/man1/makeweb.1.gz +share/man/man1/thtpasswd.1.gz +share/man/man8/redirect.8.gz +share/man/man8/ssi.8.gz +share/man/man8/syslogtocern.8.gz +share/man/man8/thttpd.8.gz sbin/makeweb sbin/syslogtocern sbin/thttpd sbin/thtpasswd %%WWWDIR%%/cgi-bin/phf %%WWWDIR%%/cgi-bin/redirect %%WWWDIR%%/cgi-bin/ssi