summary refs log tree commit diff
path: root/port/file2c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-27 16:00:07 -0400
committerJune McEnroe <june@causal.agency>2019-07-27 16:00:07 -0400
commit2eb8d3abbb7fbe8972c0535446ecfcfadffb3eea (patch)
treebd93a6211c82aff2abcb186b53e220d573bf5917 /port/file2c
parentRewrite Makefile once more with more organization (diff)
downloadsrc-2eb8d3abbb7fbe8972c0535446ecfcfadffb3eea.tar.gz
src-2eb8d3abbb7fbe8972c0535446ecfcfadffb3eea.zip
Rewrite port makefiles consistently
Diffstat (limited to '')
-rw-r--r--port/file2c/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/port/file2c/Makefile b/port/file2c/Makefile
index 5917b82d..09f6b5d0 100644
--- a/port/file2c/Makefile
+++ b/port/file2c/Makefile
@@ -1,9 +1,15 @@
+PREFIX = ~/.local
+MANDIR = ${PREFIX}/share/man
+
 file2c:
 
 clean:
 	rm -f file2c
 
 install: file2c file2c.1
-	mkdir -p ~/.local/bin ~/.local/share/man/man1
-	cp file2c ~/.local/bin
-	cp file2c.1 ~/.local/share/man/man1
+	install -d ${PREFIX}/bin ${MANDIR}/man1
+	install file2c ${PREFIX}/bin
+	install -m 644 file2c.1 ${MANDIR}/man1
+
+uninstall:
+	rm -f ${PREFIX}/bin/file2c ${MANDIR}/man1/file2c.1
e file. 2020-02-11Set self.nick to * initiallyJune McEnroe Allows removing a bunch of checks that self.nick is set, and it's what the server usually calls you before registration. Never highlight notices as mentions. 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe Rookie mistake. 2020-02-11Cast towupper to wchar_tJune McEnroe For some reason it takes and returns wint_t... 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe