From d3ae2b193b13645c9fa49b7b5d9ec13d7bfedd25 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Mon, 17 Sep 2001 04:22:40 +0000 Subject: [PATCH] Fix install target assuming directory name in tarball Add regex's for PORTNAME in appropriate places PR: 30244 Submitted by: fullermd@over-yonder.net --- mail/listar/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mail/listar/Makefile b/mail/listar/Makefile index 77ba603994d6..012596350f7c 100644 --- a/mail/listar/Makefile +++ b/mail/listar/Makefile @@ -25,11 +25,11 @@ pre-patch: pre-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - @ ${MKDIR} ${PREFIX}/listar - @ ${CP} -R ${WRKDIR}/${DISTNAME}/* ${PREFIX}/listar - @ ${RM} -R ${PREFIX}/listar/src/ - @ ${RM} -R ${PREFIX}/listar/debian/ - @ ${CHOWN} -R listar:listar ${PREFIX}/listar/* + @ ${MKDIR} ${PREFIX}/${PORTNAME} + @ ${CP} -R ${WRKDIR}/${PORTNAME}-1.0.0/* ${PREFIX}/listar + @ ${RM} -R ${PREFIX}/${PORTNAME}/src/ + @ ${RM} -R ${PREFIX}/${PORTNAME}/debian/ + @ ${CHOWN} -R listar:listar ${PREFIX}/${PORTNAME}/* post-install: