aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rar
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
committerasami <asami@FreeBSD.org>1998-11-14 17:43:39 +0800
commit521807d38becba50804a00710cfa1b51c759a4f4 (patch)
tree26cfeb8a991d32014f9a30277d2ade973f1a937f /archivers/rar
parentf4c70db8f8fed4684d8013755f0d23c5da34733e (diff)
downloadfreebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz
freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst
freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.zip
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.
Diffstat (limited to 'archivers/rar')
-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>