1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/textproc/cwtext/files/patch-makefile
Antoine Brodin a4e91fe160 - Allow staging as a regular user
- USES=python
2014-09-08 19:26:54 +00:00

18 lines
453 B
Plaintext

--- makefile.orig 2004-12-16 12:15:22 UTC
+++ makefile
@@ -1,11 +1,9 @@
-PREFIX=/usr/local
-
ALL: cwtext cwpcm cwmm
install: ALL
- install -sc cwtext ${PREFIX}/bin
- install -sc cwpcm ${PREFIX}/bin
- install -sc cwmm ${PREFIX}/bin
+ $(BSD_INSTALL_PROGRAM) cwtext ${DESTDIR}${PREFIX}/bin
+ $(BSD_INSTALL_PROGRAM) cwpcm ${DESTDIR}${PREFIX}/bin
+ $(BSD_INSTALL_PROGRAM) cwmm ${DESTDIR}${PREFIX}/bin
cwmm: cwmm.o morse.o
${CC} ${CFLAGS} -o cwmm $^