aboutsummaryrefslogtreecommitdiffstats
path: root/www/inks/Makefile
blob: 6cff61b81874710fededea4fe67333396be7322a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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>