blob: fcb15fa7aacab5af02e7011b1ba070c7f8852d3b (
plain)
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
29
30
|
# $NetBSD: Makefile,v 1.7 2020/01/09 11:28:37 ng0 Exp $
DISTNAME= nsm-2.0.1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=nifty-site-manager/}
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= ng0@NetBSD.org
HOMEPAGE= https://www.nift.cc/
COMMENT= Cross-platform git- and LaTeX-like command-line website manager
LICENSE= mit
USE_LANGUAGES= c++
INSTALLATION_DIRS= bin
# Avoid building 2 binaries with the exact same content
# where we can symlink instead. This safes 50 percent
# of the binary size and some double computation.
# closed upstream ticket:
# https://github.com/nifty-site-manager/nsm/issues/2
SUBST_CLASSES+= nift
SUBST_STAGE.nift= pre-configure
SUBST_FILES.nift= Makefile
SUBST_SED.nift= -e '/nift/ s,^,\#,g'
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${LN} -s nsm nift
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|