2019-07-12 20:43:27 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2019/07/12 20:43:29 sthen Exp $
|
2004-01-23 05:20:48 +00:00
|
|
|
|
2015-10-05 16:50:14 +00:00
|
|
|
COMMENT = command line implementation of the PAR v2.0 specification
|
2004-01-23 05:20:48 +00:00
|
|
|
|
2017-12-12 01:10:50 +00:00
|
|
|
V = 0.7.4
|
2015-10-05 16:50:14 +00:00
|
|
|
DISTNAME = par2cmdline-$V
|
2018-10-24 14:27:57 +00:00
|
|
|
REVISION = 0
|
|
|
|
|
|
|
|
MAINTAINER = Mikolaj Kucharski <mikolaj@kucharski.name>
|
2004-01-23 05:20:48 +00:00
|
|
|
|
2015-10-05 16:50:14 +00:00
|
|
|
CATEGORIES = archivers
|
2010-07-11 15:57:46 +00:00
|
|
|
|
2015-10-05 16:50:14 +00:00
|
|
|
HOMEPAGE = https://github.com/BlackIkeEagle/par2cmdline/
|
2004-01-23 05:20:48 +00:00
|
|
|
|
2015-10-05 16:50:14 +00:00
|
|
|
# GPLv2+
|
2019-07-12 20:43:27 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2015-10-05 16:50:14 +00:00
|
|
|
|
2016-06-13 17:32:27 +00:00
|
|
|
# uses pledge()
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB = c m ${COMPILER_LIBCXX}
|
2015-10-05 16:50:14 +00:00
|
|
|
|
2018-10-24 14:27:57 +00:00
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
2015-10-05 16:50:14 +00:00
|
|
|
|
2017-12-12 01:10:50 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE}releases/download/v$V/
|
2015-10-05 16:50:14 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
|
|
|
|
AUTOCONF_VERSION = 2.69
|
|
|
|
AUTOMAKE_VERSION = 1.15
|
|
|
|
|
|
|
|
post-patch:
|
2018-08-10 10:19:18 +00:00
|
|
|
cd ${WRKSRC} && ${AUTOCONF_ENV} aclocal && \
|
|
|
|
${AUTOCONF_ENV} automake --add-missing && \
|
|
|
|
${AUTOCONF_ENV} autoconf
|
2004-01-23 05:20:48 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/par2cmdline
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/par2cmdline
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|