aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/linux-divxplayer
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-05-29 00:33:27 +0800
committerlioux <lioux@FreeBSD.org>2002-05-29 00:33:27 +0800
commitce8ec5674a406b715b4bf0cef4fb051cd4b41b4c (patch)
treeb08004a9c91e21a6ba843030256e2faea74c9c2a /multimedia/linux-divxplayer
parent085aae7bb8148d12d497978e073367205689e2aa (diff)
downloadfreebsd-ports-gnome-ce8ec5674a406b715b4bf0cef4fb051cd4b41b4c.tar.gz
freebsd-ports-gnome-ce8ec5674a406b715b4bf0cef4fb051cd4b41b4c.tar.zst
freebsd-ports-gnome-ce8ec5674a406b715b4bf0cef4fb051cd4b41b4c.zip
After update of linux_base to 7.1 in rev 1.60, correct detection
of strip tool since it is not part of 7.1
Diffstat (limited to 'multimedia/linux-divxplayer')
-rw-r--r--multimedia/linux-divxplayer/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/multimedia/linux-divxplayer/Makefile b/multimedia/linux-divxplayer/Makefile
index 86f3505a91e3..a1a871e86e61 100644
--- a/multimedia/linux-divxplayer/Makefile
+++ b/multimedia/linux-divxplayer/Makefile
@@ -35,12 +35,6 @@ post-patch:
@${SED} -e "s|%%DATADIR%%|${DATADIR}|" ${FILESDIR}/wrapper.sh \
> ${WRKDIR}/wrapper.sh
-pre-install:
-.if exists(${STRIP_CMD})
- @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
-.endif
- @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
-
do-install:
# skin files
@${MKDIR} ${DATADIR}
@@ -52,4 +46,12 @@ do-install:
${PREFIX}/bin/${BINARY_NAME:S/.bin$//}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+pre-install:
+.if exists(${STRIP_CMD})
+ @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME}
+.endif
+ @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME}
+
+.include <bsd.port.post.mk>