aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2011-08-21 07:03:58 +0800
committernaddy <naddy@FreeBSD.org>2011-08-21 07:03:58 +0800
commitc446cb72166b0da78dafe416a25e39d03f4bfd9c (patch)
treefd967f80fe093a9b96790e3543ddf9b295f09c73 /devel
parent0de889fae2c0083b78089e2330abc888e1ea2230 (diff)
downloadfreebsd-ports-gnome-c446cb72166b0da78dafe416a25e39d03f4bfd9c.tar.gz
freebsd-ports-gnome-c446cb72166b0da78dafe416a25e39d03f4bfd9c.tar.zst
freebsd-ports-gnome-c446cb72166b0da78dafe416a25e39d03f4bfd9c.zip
lib/pkgconfig -> libdata/pkgconfig
Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r--devel/allegro-devel/Makefile1
-rw-r--r--devel/allegro-devel/files/patch-CMakeLists.txt26
-rw-r--r--devel/allegro-devel/pkg-plist11
3 files changed, 13 insertions, 25 deletions
diff --git a/devel/allegro-devel/Makefile b/devel/allegro-devel/Makefile
index 8b9dd0aa0e5e..9ffae9663b9d 100644
--- a/devel/allegro-devel/Makefile
+++ b/devel/allegro-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= allegro
DISTVERSION= 4.4.1.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
PKGNAMESUFFIX= -devel
diff --git a/devel/allegro-devel/files/patch-CMakeLists.txt b/devel/allegro-devel/files/patch-CMakeLists.txt
index 59dde66a6f57..65e540d826d0 100644
--- a/devel/allegro-devel/files/patch-CMakeLists.txt
+++ b/devel/allegro-devel/files/patch-CMakeLists.txt
@@ -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)
diff --git a/devel/allegro-devel/pkg-plist b/devel/allegro-devel/pkg-plist
index a8fa8d7fff92..c7524f973712 100644
--- a/devel/allegro-devel/pkg-plist
+++ b/devel/allegro-devel/pkg-plist
@@ -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