aboutsummaryrefslogtreecommitdiff
path: root/devel/msp430-binutils/Makefile
diff options
context:
space:
mode:
authorLev A. Serebryakov <lev@FreeBSD.org>2004-04-06 08:55:48 +0000
committerLev A. Serebryakov <lev@FreeBSD.org>2004-04-06 08:55:48 +0000
commite8299c9f377dace7fd6f0ca89bc07e9ee0b86696 (patch)
tree54c43491ab5d912e7dc622381987e23be8e8c08f /devel/msp430-binutils/Makefile
parent7c97f84ff5c50561b78c59b1bafea9cdd9eabbbd (diff)
downloadports-e8299c9f377dace7fd6f0ca89bc07e9ee0b86696.tar.gz
ports-e8299c9f377dace7fd6f0ca89bc07e9ee0b86696.zip
Notes
Diffstat (limited to 'devel/msp430-binutils/Makefile')
-rw-r--r--devel/msp430-binutils/Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/devel/msp430-binutils/Makefile b/devel/msp430-binutils/Makefile
index 8e5a324a8ea4..dc4af2a3746d 100644
--- a/devel/msp430-binutils/Makefile
+++ b/devel/msp430-binutils/Makefile
@@ -37,22 +37,26 @@ MAN1= ${PKGNAMEPREFIX}ar.1 ${PKGNAMEPREFIX}nm.1 \
${PKGNAMEPREFIX}ld.1 ${PKGNAMEPREFIX}dlltool.1 \
${PKGNAMEPREFIX}readelf.1 ${PKGNAMEPREFIX}windres.1
+INFO= bfd binutils as ld standards configure
+INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info
+
PLIST_SUB+= BINUTILS_TARG=${PKGNAMEPREFIX:S/-$//}
BINARIES= addr2line ar as c++filt ld nm objcopy objdump ranlib \
readelf size strings strip
-INFO_NOAUTO= bfd.info binutils.info as.info ld.info \
- standards.info configure.info
-
post-install:
+# Register these too
+ install-info ${PREFIX}/${INFO_PATH}/configure.info ${PREFIX}/${INFO_PATH}/dir
+ install-info ${PREFIX}/${INFO_PATH}/standards.info ${PREFIX}/${INFO_PATH}/dir
+# This should go after all *.info stuff
+ ${ECHO} "@unexec rm %D/${PKGNAMEPREFIX:S/-$//}/info/dir" >> ${TMPPLIST}
+ ${ECHO} "@unexec rmdir %D/${PKGNAMEPREFIX:S/-$//}/info 2> /dev/null || true" >> ${TMPPLIST}
+ ${ECHO} "@unexec rmdir %D/${PKGNAMEPREFIX:S/-$//} 2> /dev/null || true" >> ${TMPPLIST}
.for F in ${BINARIES}
@${STRIP_CMD} ${PREFIX}/bin/${PKGNAMEPREFIX}$F
@${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \
${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
.endfor
-.for F in ${INFO_NOAUTO}
- install-info ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info/${F} ${PREFIX}/info/dir
-.endfor
.include <bsd.port.mk>