summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit96bc8048c3217bb231f2f30eadeb628134b557f5 (patch)
treec75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /archivers
parentChecksum changed.... (diff)
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
Notes
Notes: svn path=/head/; revision=14512
Diffstat (limited to 'archivers')
-rw-r--r--archivers/rar/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile
index a214ee873202..ad67163ba6f1 100644
--- a/archivers/rar/Makefile
+++ b/archivers/rar/Makefile
@@ -4,7 +4,7 @@
# Date created: 15 May 1996
# Whom: ache
#
-# $Id: Makefile,v 1.8 1997/11/26 01:41:36 jseger Exp $
+# $Id: Makefile,v 1.9 1998/09/23 00:59:38 steve Exp $
#
DISTNAME= rarbsd
@@ -21,6 +21,12 @@ NO_WRKSUBDIR= yes
EXTRACT_CMD=
EXTRACT_BEFORE_ARGS=
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+STRIP=
+.endif
+
post-fetch:
chmod a+x ${DISTDIR}/${DISTFILES}
@@ -46,8 +52,4 @@ do-install:
${INSTALL_DATA} Dos.SFX \
${PREFIX}/share/rar/dos.sfx
-.include <bsd.port.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-STRIP=
-.endif
+.include <bsd.port.post.mk>