forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
26 lines
965 B
Text
26 lines
965 B
Text
--- Makefile.orig 2013-09-09 09:56:10.000000000 +0400
|
|
+++ Makefile 2014-01-28 04:02:41.281082541 +0400
|
|
@@ -1,17 +1,17 @@
|
|
PREFIX?=/usr/local
|
|
|
|
-LIBS=-L${PREFIX}/lib -ltag
|
|
+LIBS=-L${LOCALBASE}/lib -ltag
|
|
|
|
all: gbsdconv_taglib
|
|
|
|
gbsdconv_taglib: taglib/tag_c.cpp
|
|
- $(CXX) -I${PREFIX}/include/taglib -fPIC -shared -o gbsdconv_taglib.so taglib/tag_c.cpp ${LIBS}
|
|
+ $(CXX) -I${LOCALBASE}/include/taglib -fPIC -shared -o gbsdconv_taglib.so taglib/tag_c.cpp ${LIBS}
|
|
|
|
install:
|
|
- install -m 755 gbsdconv ${PREFIX}/bin
|
|
- install -m 444 gbsdconv_taglib.so ${PREFIX}/lib
|
|
- mkdir -p ${PREFIX}/share/gbsdconv
|
|
- install -m 444 gbsdconv.png gbsdconv.xml gbsdconv2.png ${PREFIX}/share/gbsdconv
|
|
+ install -m 755 gbsdconv ${DESTDIR}${PREFIX}/bin
|
|
+ install -m 444 gbsdconv_taglib.so ${DESTDIR}${PREFIX}/lib
|
|
+ mkdir -p ${DESTDIR}${PREFIX}/share/gbsdconv
|
|
+ install -m 444 gbsdconv.png gbsdconv.xml gbsdconv2.png ${DESTDIR}${PREFIX}/share/gbsdconv
|
|
|
|
clean:
|
|
rm -f gbsdconv_taglib.so
|