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:
parent
5ad310507d
commit
57c8a76c07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202604
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user