diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libglade/Makefile | 7 | ||||
-rw-r--r-- | devel/libglade2/Makefile | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile index cc8237d87139..218f04927368 100644 --- a/devel/libglade/Makefile +++ b/devel/libglade/Makefile @@ -7,6 +7,7 @@ PORTNAME= libglade PORTVERSION= 0.17 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/libglade @@ -26,4 +27,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} +post-install: + @if [ -L ${PREFIX}/include/glade ]; then \ + ${RM} -f ${PREFIX}/include/glade; \ + fi + @${LN} -sf ${PREFIX}/include/libglade-1.0/glade ${PREFIX}/include/glade + .include <bsd.port.mk> diff --git a/devel/libglade2/Makefile b/devel/libglade2/Makefile index cc8237d87139..218f04927368 100644 --- a/devel/libglade2/Makefile +++ b/devel/libglade2/Makefile @@ -7,6 +7,7 @@ PORTNAME= libglade PORTVERSION= 0.17 +PORTREVISION= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/libglade @@ -26,4 +27,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} +post-install: + @if [ -L ${PREFIX}/include/glade ]; then \ + ${RM} -f ${PREFIX}/include/glade; \ + fi + @${LN} -sf ${PREFIX}/include/libglade-1.0/glade ${PREFIX}/include/glade + .include <bsd.port.mk> |