-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.cipier
More file actions
33 lines (24 loc) · 795 Bytes
/
Copy pathMakefile.cipier
File metadata and controls
33 lines (24 loc) · 795 Bytes
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
31
32
33
# Created by: Nikola Kolev <koue@chaosophia.net>
# $FreeBSD$
PORTNAME= graffer
PORTVERSION= 1.2
CATEGORIES= sysutils
MAINTAINER= koue@chaosophia.net
COMMENT= Utility to render graphical statistics
LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= koue
GH_PROJECT= graffer
LIB_DEPENDS= libpng.so:graphics/png
PLIST_FILES= bin/graffer \
etc/graffer/graffer.conf.example \
man/man8/graffer.8.gz
post-patch:
@${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \
${WRKSRC}/src/graffer.[c8]
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/graffer ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/src/graffer.8 ${STAGEDIR}${PREFIX}/man/man8
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/graffer
${INSTALL_DATA} ${WRKSRC}/etc/graffer.conf.example ${STAGEDIR}${PREFIX}/etc/graffer
.include <bsd.port.mk>