diff options
Diffstat (limited to 'www/inks/Makefile')
| -rw-r--r-- | www/inks/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
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 <aaoth@aaoth.xyz> + +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 <bsd.port.mk> |
