1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

fix installing when LOCALBASE != PREFIX

This commit is contained in:
Baptiste Daroussin 2011-04-14 06:54:23 +00:00
parent 91687002de
commit 7fe78d9f81
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272707
3 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ post-configure:
# This is to avoid libtool running ldconfig -m ${LOCALBASE}/lib/bmp/Input
do-install:
@${MKDIR} ${PREFIX}/lib/bmp/Input
${INSTALL_DATA} ${WRKSRC}/src/plugin_bmp/.libs/libbmp-flac.so ${PREFIX}/lib/bmp/Input
.include <bsd.port.pre.mk>

View File

@ -32,6 +32,7 @@ post-patch:
's|-D.*_DISABLE_DEPRECATED||g'
do-install:
@${MKDIR} ${PREFIX}/${PLUGDIR}
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PLUGFILE} ${PREFIX}/${PLUGDIR}/
.include <bsd.port.mk>

View File

@ -30,6 +30,7 @@ PLUGDIR?= lib/bmp/Input
PLIST_FILES= ${PLUGDIR}/libmodplugbmp.so
do-install:
@${MKDIR} ${PREFIX}/${PLUGDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/modplugbmp/.libs/libmodplugbmp.so ${PREFIX}/${PLUGDIR}/
.include <bsd.port.mk>