1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

Fix packaging by not creating an empty directory and removing a temporary file.

Approved by: portmgr (linimon)
This commit is contained in:
Volker Stolz 2007-11-09 08:10:48 +00:00
parent 5ad310507d
commit 57c8a76c07
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202604

View File

@ -29,6 +29,7 @@ CABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs
PLIST_SUB= PORTVERSION="${PORTVERSION}" \
HSPORTNAME="${HSPORTNAME}" \
GHC_VERSION="${GHC_VERSION}" \
SUBDIR=lib/ghc-${GHC_VERSION}/cabal
CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \
@ -48,4 +49,7 @@ do-install:
cd ${WRKSRC} && ${CABALCMD} install \
&& ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${CABALDIR}/${HSPORTNAME}-register.sh
post-install:
@${RMDIR} ${CABALDIR}/include # empty
.include <bsd.port.post.mk>