1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

lib/pkgconfig -> libdata/pkgconfig

Approved by:	maintainer
This commit is contained in:
Christian Weisgerber 2011-08-20 23:03:58 +00:00
parent a7fd4c1eb2
commit 4e5520e0fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280099
3 changed files with 13 additions and 25 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= allegro
DISTVERSION= 4.4.1.1
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
PKGNAMESUFFIX= -devel

View File

@ -1,5 +1,5 @@
--- CMakeLists.txt.orig 2010-03-03 11:07:40.000000000 +0100
+++ CMakeLists.txt 2011-01-19 12:38:44.000000000 +0100
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -66,7 +66,7 @@
endif(WIN32)
@ -9,24 +9,12 @@
# Mac OS X -compatibility_version.
# XXX doesn't seem to work
@@ -83,6 +83,7 @@
# Put libraries into `lib'.
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
+set(LIBDATA_OUTPUT_PATH ${CMAKE_BINARY_DIR}/libdata)
# Lists of all the source files.
include(FileList)
@@ -880,10 +881,10 @@
configure_file(
misc/${name}.pc.in
- ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
+ ${LIBDATA_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
@@ -884,7 +884,7 @@
@ONLY
)
- install(FILES ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
+ install(FILES ${LIBDATA_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
DESTINATION "lib${LIB_SUFFIX}/pkgconfig"
install(FILES ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
- DESTINATION "lib${LIB_SUFFIX}/pkgconfig"
+ DESTINATION "libdata/pkgconfig"
)
endforeach(name)
endif(UNIX)

View File

@ -127,11 +127,11 @@ lib/liballeggl.a
lib/libjpgalleg.a
lib/libloadpng.a
lib/liblogg.a
lib/pkgconfig/allegro.pc
lib/pkgconfig/allegrogl.pc
lib/pkgconfig/jpgalleg.pc
lib/pkgconfig/loadpng.pc
lib/pkgconfig/logg.pc
libdata/pkgconfig/allegro.pc
libdata/pkgconfig/allegrogl.pc
libdata/pkgconfig/jpgalleg.pc
libdata/pkgconfig/loadpng.pc
libdata/pkgconfig/logg.pc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/THANKS
@ -154,7 +154,6 @@ lib/pkgconfig/logg.pc
%%PORTDOCS%%%%DOCSDIR%%/packfile.txt
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry lib/pkgconfig
@dirrm lib/allegro/%%SHLIB_VER%%
@dirrm lib/allegro
@dirrm include/allegrogl/GLext