1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/net/sl2tps/files/patch-Makefile
Vanilla I. Shu e02b236f9d 1: Stagify.
2: use @sample on pkg-plist.
3: Bump version.
2014-06-09 16:16:20 +00:00

22 lines
786 B
Plaintext

--- Makefile.orig 2014-06-10 00:10:49.502121136 +0800
+++ Makefile 2014-06-10 00:11:31.903120544 +0800
@@ -38,14 +38,14 @@ CLEANFILES+= ${PROG}.1
# Install example config file
#
beforeinstall:
- @if [ ! -d ${PREFIX}/etc/${PROG} ]; then \
+ @if [ ! -d $(DESTDIR)${PREFIX}/etc/${PROG} ]; then \
${ECHO} ${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \
- ${PREFIX}/etc/${PROG}; \
+ $(DESTDIR)${PREFIX}/etc/${PROG}; \
${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 0755 \
- ${PREFIX}/etc/${PROG}; \
+ $(DESTDIR)${PREFIX}/etc/${PROG}; \
fi
${INSTALL} -C -o ${SHAREOWN} -g ${SHAREGRP} -m 0644 \
- ${CONFIG_SAMPLE} ${PREFIX}/etc/${PROG}/${CONFIG_SAMPLE}
+ ${CONFIG_SAMPLE} $(DESTDIR)${PREFIX}/etc/${PROG}/${CONFIG_SAMPLE}
distclean: cleandir