aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-02-19 00:14:31 +0800
committervs <vs@FreeBSD.org>2005-02-19 00:14:31 +0800
commit507cafdd2b22afd769583e67f93f0b607348cba0 (patch)
tree32a9f8e8c5a298d711500c4ba63de3d3e8a25631 /devel
parentf39e0c4d7e56a77d572ac7aee0d152ae8da1d1d2 (diff)
downloadfreebsd-ports-gnome-507cafdd2b22afd769583e67f93f0b607348cba0.tar.gz
freebsd-ports-gnome-507cafdd2b22afd769583e67f93f0b607348cba0.tar.zst
freebsd-ports-gnome-507cafdd2b22afd769583e67f93f0b607348cba0.zip
- Completely disconnect the man-page symlinks for the time being: The previous
hack would only work after the port has already been built, but not when starting fresh over. Sigh. You still get the (compressed) regular pages, though. - Install stripped demos
Diffstat (limited to 'devel')
-rw-r--r--devel/cdk/Makefile7
-rw-r--r--devel/cdk/files/patch-Makefile.in14
-rw-r--r--devel/cdk/maninfo.mk2
3 files changed, 21 insertions, 2 deletions
diff --git a/devel/cdk/Makefile b/devel/cdk/Makefile
index 111a8f51fc63..79a42771eff7 100644
--- a/devel/cdk/Makefile
+++ b/devel/cdk/Makefile
@@ -41,9 +41,14 @@ ALL_TARGET= default examples demos cli cdkshlib
INSTALL_TARGET= install installCDKSHLibrary
INSTALLS_SHLIB= yes
-NOMANCOMPRESS= yes # work around 'argument list too long' issue
.include "${.CURDIR}/maninfo.mk"
+post-patch:
+. for f in cli/Makefile.in demos/Makefile.in examples/Makefile.in
+ @${REINPLACE_CMD} -e 's|^\(LINKIT.*\)|& \&\& ${STRIP_CMD} $$@|' ${WRKSRC}/$f
+ @${RM} ${WRKSRC}/$f.bak
+. endfor
+
post-configure:
${REINPLACE_CMD} -e 's|^DOCUMENT_DIR.*$$|DOCUMENT_DIR=${DOCSDIR}|' \
-e 's|^CDKSHLIB.*$$|CDKSHLIB=$$(SONAME)|' \
diff --git a/devel/cdk/files/patch-Makefile.in b/devel/cdk/files/patch-Makefile.in
new file mode 100644
index 000000000000..233f35af33a4
--- /dev/null
+++ b/devel/cdk/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+--- Makefile.in.orig Fri Feb 18 16:37:54 2005
++++ Makefile.in Fri Feb 18 16:38:08 2005
+@@ -317,11 +317,9 @@
+ @echo "Installing the CDK man pages in $(MAN_DIR) ..."
+ @for i in $(AUTO_MAN); do \
+ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(MAN_DIR) $(srcdir) $$i; \
+- $(SHELL) $(srcdir)/manlinks.sh installing $(srcdir) $(MAN_DIR) $$i; \
+ done
+ @for i in $(CDKMAN); do \
+ $(SHELL) $(srcdir)/headers.sh $(INSTALL_DATA) $(MAN_DIR) $(srcdir) man/$$i; \
+- $(SHELL) $(srcdir)/manlinks.sh installing $(srcdir) $(MAN_DIR) $(srcdir)/man/$$i; \
+ done
+
+ uninstall \
diff --git a/devel/cdk/maninfo.mk b/devel/cdk/maninfo.mk
index 6b1fc7e5d399..b4a8671a0742 100644
--- a/devel/cdk/maninfo.mk
+++ b/devel/cdk/maninfo.mk
@@ -34,7 +34,7 @@ MAN3+= cdk.3 \
cdk_uscale.3 \
cdk_uslider.3 \
cdk_viewer.3
-MLINKS+=cdk_alphalist.3 activateCDKAlphalist.3 \
+BROKENMLINKS+=cdk_alphalist.3 activateCDKAlphalist.3 \
cdk_alphalist.3 destroyCDKAlphalist.3 \
cdk_alphalist.3 drawCDKAlphalist.3 \
cdk_alphalist.3 eraseCDKAlphalist.3 \