From 747b751dbf1a38f81d99546a65a2d7d3cc213609 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Sat, 4 Oct 2003 13:57:00 +0000 Subject: Avoid Perl. Use the DATADIR and DOCSDIR macros. PR: 47651 Submitted by: Simon Schubert of ath.cx Rename the post-configure target to pre-patch because it applies a patch. --- audio/denemo/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'audio/denemo') diff --git a/audio/denemo/Makefile b/audio/denemo/Makefile index 585ea95dc41b..7bb30f3e14fc 100644 --- a/audio/denemo/Makefile +++ b/audio/denemo/Makefile @@ -33,8 +33,12 @@ USE_X_PREFIX= yes BROKEN= "Does not compile" .endif -post-configure: - ${PERL} -pi -e "s: ${WRKSRC}/${ii} +.endfor pre-install: ${ECHO_CMD} bin/${PORTNAME} > ${PLIST} @@ -51,12 +55,12 @@ do-install: ${MKDIR} ${PREFIX}/share/denemo ${INSTALL_PROGRAM} ${WRKSRC}/denemo ${PREFIX}/bin .for i in ${SHARED} - ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/denemo + ${INSTALL_DATA} ${WRKSRC}/$i ${DATADIR} .endfor .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/${DOCDIR} + ${MKDIR} ${DOCSDIR} .for i in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} .endfor .endif -- cgit v1.2.3