fix installing when LOCALBASE != PREFIX

This commit is contained in:
Baptiste Daroussin 2011-04-14 06:17:13 +00:00
parent 11f8fef70a
commit a08e9b7f50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272701
2 changed files with 3 additions and 1 deletions

View file

@ -22,6 +22,7 @@ MAKE_ARGS= CPP="${CXX}" CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -fPIC"
PLIST_FILES= lib/ladspa/aw.so
do-install:
${INSTALL_DATA} ${WRKSRC}/aw.so ${LOCALBASE}/lib/ladspa
@${MKDIR} ${PREFIX}/lib/ladspa
${INSTALL_DATA} ${WRKSRC}/aw.so ${PREFIX}/lib/ladspa
.include <bsd.port.mk>

View file

@ -23,6 +23,7 @@ USE_GMAKE= yes
PLIST_FILES= lib/ladspa/ambisonic1.so lib/ladspa/ambisonic2.so
do-install:
@${MKDIR} ${PREFIX}/lib/ladspa
${INSTALL_DATA} ${WRKSRC}/ambisonic1.so ${PREFIX}/lib/ladspa
${INSTALL_DATA} ${WRKSRC}/ambisonic2.so ${PREFIX}/lib/ladspa