diff options
-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 |