diff options
author | edwin <edwin@FreeBSD.org> | 2005-10-23 08:31:31 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-10-23 08:31:31 +0800 |
commit | 8c2e81c8b3603e0cc981dea0ea90555a1f38eeb7 (patch) | |
tree | c613c149a49a404d6d5fe1587f00db5e76d40018 /mail | |
parent | 2ff29ea6434051c2e73387904862a8154d122649 (diff) | |
download | freebsd-ports-gnome-8c2e81c8b3603e0cc981dea0ea90555a1f38eeb7.tar.gz freebsd-ports-gnome-8c2e81c8b3603e0cc981dea0ea90555a1f38eeb7.tar.zst freebsd-ports-gnome-8c2e81c8b3603e0cc981dea0ea90555a1f38eeb7.zip |
properly fix it by installing in PREFIX and not in LOCALBASE
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mavbiff/files/patch-Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/mail/mavbiff/files/patch-Makefile b/mail/mavbiff/files/patch-Makefile index a7eb68157c4d..fe6bc3b4cd94 100644 --- a/mail/mavbiff/files/patch-Makefile +++ b/mail/mavbiff/files/patch-Makefile @@ -17,12 +17,12 @@ - install -c -m 644 dot-mavbiffrc /usr/local/share/doc/mavbiff - install -c -m 644 README /usr/local/share/doc/mavbiff - install -c -m 644 mavbiff.1 /usr/local/man/man1/mavbiff.1 -+ test -d ${LOCALBASE}/bin || mkdir -p ${LOCALBASE}/bin -+ test -d ${LOCALBASE}/share/doc/mavbiff || mkdir -p ${LOCALBASE}/share/doc/mavbiff -+ install -c -m 755 mavbiff ${LOCALBASE}/bin -+ install -c -m 644 dot-mavbiffrc ${LOCALBASE}/share/doc/mavbiff -+ install -c -m 644 README ${LOCALBASE}/share/doc/mavbiff -+ install -c -m 644 mavbiff.1 ${LOCALBASE}/man/man1/mavbiff.1 ++ test -d ${PREFIX}/bin || mkdir -p ${PREFIX}/bin ++ test -d ${PREFIX}/share/doc/mavbiff || mkdir -p ${PREFIX}/share/doc/mavbiff ++ install -c -m 755 mavbiff ${PREFIX}/bin ++ install -c -m 644 dot-mavbiffrc ${PREFIX}/share/doc/mavbiff ++ install -c -m 644 README ${PREFIX}/share/doc/mavbiff ++ install -c -m 644 mavbiff.1 ${PREFIX}/man/man1/mavbiff.1 deinstall: - -rm /usr/local/bin/mavbiff @@ -34,15 +34,15 @@ - -rmdir /usr/local/share/doc - -rmdir /usr/local/share - -rmdir /usr/local -+ -rm ${LOCALBASE}/bin/mavbiff -+ -rm ${LOCALBASE}/bin/man/man1/mavbiff.1 -+ -rm ${LOCALBASE}/share/doc/mavbiff/dot-mavbiffrc -+ -rm ${LOCALBASE}/share/doc/mavbiff/README -+ -rmdir ${LOCALBASE}/bin -+ -rmdir ${LOCALBASE}/share/doc/mavbiff -+ -rmdir ${LOCALBASE}/share/doc -+ -rmdir ${LOCALBASE}/share -+ -rmdir ${LOCALBASE} ++ -rm ${PREFIX}/bin/mavbiff ++ -rm ${PREFIX}/bin/man/man1/mavbiff.1 ++ -rm ${PREFIX}/share/doc/mavbiff/dot-mavbiffrc ++ -rm ${PREFIX}/share/doc/mavbiff/README ++ -rmdir ${PREFIX}/bin ++ -rmdir ${PREFIX}/share/doc/mavbiff ++ -rmdir ${PREFIX}/share/doc ++ -rmdir ${PREFIX}/share ++ -rmdir ${PREFIX} clean: rm -f mavbiff *.o mavbiff.1 |