diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-06-27 17:38:16 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-06-27 17:38:16 +0800 |
commit | e9cf8db48b7526754e681f7865db3687817505e6 (patch) | |
tree | 3dfc68c014abbb05aeac182eb740a0697648ac8f /devel | |
parent | 77a22f4fcbed6d19667e42e6be4e3a3676ca22c2 (diff) | |
download | freebsd-ports-gnome-e9cf8db48b7526754e681f7865db3687817505e6.tar.gz freebsd-ports-gnome-e9cf8db48b7526754e681f7865db3687817505e6.tar.zst freebsd-ports-gnome-e9cf8db48b7526754e681f7865db3687817505e6.zip |
Properly handle ddd.info file.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ddd/Makefile | 13 | ||||
-rw-r--r-- | devel/ddd/files/patch-03 | 20 | ||||
-rw-r--r-- | devel/ddd/pkg-plist | 3 |
3 files changed, 34 insertions, 2 deletions
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile index 3ac3af71a884..46591c0157e8 100644 --- a/devel/ddd/Makefile +++ b/devel/ddd/Makefile @@ -22,22 +22,31 @@ CONFIGURE_ARGS= --with-motif-libraries="${LIBXMDIR}" \ --with-readline-libraries=/usr/lib USE_GMAKE= yes REQUIRES_MOTIF= yes + MAN1= ddd.1 .if defined(MOTIFLIB) .if defined(MOTIF_STATIC) -LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/\/libXm\.a//g' | awk '{print $$1}' +LIBXMDIR!= ${ECHO} ${MOTIFLIB} | ${SED} -e 's/\/libXm\.a//g' | ${AWK} '{print $$1}' .else -LIBXMDIR!= ${ECHO} ${MOTIFLIB} | sed -e 's/-L//g' | awk '{print $$1}' +LIBXMDIR!= ${ECHO} ${MOTIFLIB} | ${SED} -e 's/-L//g' | ${AWK} '{print $$1}' .endif .else LIBXMDIR= ${X11BASE} .endif +pre-configure: + @/usr/bin/find ${WRKSRC} -name configure | /usr/bin/xargs \ + ${PERL} -pi -e "s|-O2|-g|" + post-configure: ${ECHO} "LIBXM = ${MOTIFLIB}" >> ${WRKSRC}/ddd/Makefile +pre-build: + @${RM} -f ${WRKSRC}/doc/ddd.info* + post-install: + /usr/bin/install-info ${PREFIX}/info/ddd.info ${PREFIX}/info/dir .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/ddd ${INSTALL_DATA} ${WRKSRC}/PROBLEMS ${PREFIX}/share/doc/ddd diff --git a/devel/ddd/files/patch-03 b/devel/ddd/files/patch-03 new file mode 100644 index 000000000000..357c759cbf09 --- /dev/null +++ b/devel/ddd/files/patch-03 @@ -0,0 +1,20 @@ +--- ddd/Makefile.in.orig Tue Jun 27 10:30:32 2000 ++++ ddd/Makefile.in Tue Jun 27 10:30:51 2000 +@@ -316,7 +316,7 @@ + NROFF = $(GROFF) -Tascii + + # The makeinfo program. (makeinfo) +-MAKEINFO = @MAKEINFO@ ++MAKEINFO = @MAKEINFO@ --no-split + + # The texindex program. (texindex) + TEXINDEX = texindex +@@ -978,7 +978,7 @@ + + ## The info files. + INFO = $(docdir)/ddd.info +-INFOS = $(docdir)/ddd.info* ++INFOS = $(docdir)/ddd.info + + ## PostScript pictures in the DDD manual. + # All of these are generated from FIG and XPM files. diff --git a/devel/ddd/pkg-plist b/devel/ddd/pkg-plist index 4775392a4d08..af3ba46a702a 100644 --- a/devel/ddd/pkg-plist +++ b/devel/ddd/pkg-plist @@ -1,4 +1,7 @@ bin/ddd +info/ddd.info +@exec install-info %D/info/ddd.info %D/info/dir +@unexec install-info --delete %D/info/ddd.info %D/info/dir share/doc/ddd/PROBLEMS share/doc/ddd/README share/doc/ddd/ddd-paper.ps.gz |