From a8921593398f8b600e09b82a69a2c4a077785510 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Thu, 27 Apr 2023 01:02:53 +0300 Subject: www/inks: add 0.9.2pre20230325 this is not a real version, but since there were no releases for some time, i packaged the latest tip of mercurial repository and put it on my webserver. --- www/inks/Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 www/inks/Makefile (limited to 'www/inks/Makefile') diff --git a/www/inks/Makefile b/www/inks/Makefile new file mode 100644 index 0000000..6cff61b --- /dev/null +++ b/www/inks/Makefile @@ -0,0 +1,28 @@ +COMMENT = simple link aggregator +DISTNAME = inks-0.9.2pre20230325 +CATEGORIES = www +MAINTAINER = la ninpre + +HOMEPAGE = https://humungus.tedunangst.com/r/inks +MASTER_SITES = https://aaoth.xyz/files/ + +# ISC +PERMIT_PACKAGE = Yes + +WANTLIB += c pthread sqlite3 +LIB_DEPENDS = databases/sqlite3 + +MODULES = lang/go +ALL_TARGET = humungus.tedunangst.com/r/inks + +pre-build: + ${SUBST_CMD} ${WRKSRC}/inks.go ${WRKSRC}/util.go + +do-install: + ${INSTALL_PROGRAM} ${MODGO_WORKSPACE}/bin/inks ${PREFIX}/bin/inks + ${INSTALL_DATA_DIR} ${PREFIX}/share/inks +.for _d in views schema.sql + cp -Rp ${WRKSRC}/${_d} ${PREFIX}/share/inks +.endfor + +.include -- cgit v1.2.3