35 lines
929 B
Makefile
35 lines
929 B
Makefile
# $NetBSD: Makefile,v 1.6 2003/12/11 20:16:10 ben Exp $
|
|
#
|
|
|
|
DISTNAME= troffcvt-1.04
|
|
PKGREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.snake.net/software/troffcvt/
|
|
|
|
MAINTAINER= collver1@comcast.net
|
|
HOMEPAGE= ${MASTER_SITES}
|
|
COMMENT= Troff/groff to RTF/HTML/TEXT converter
|
|
|
|
BUILD_DEPENDS+= libts-1.08:../../devel/libts
|
|
BUILD_DEPENDS+= libmemmgr-1.04:../../devel/libmemmgr
|
|
BUILD_DEPENDS+= libportlib-1.01:../../devel/libportlib
|
|
|
|
USE_PERL5= yes
|
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
post-patch:
|
|
for i in `${FIND} ${WRKSRC} -name Makefile`; do \
|
|
${MV} $$i $$i.bak;\
|
|
${SED} <$$i.bak >$$i \
|
|
-e "s| -Dsun -DSVR4||" \
|
|
-e "s| -lsocket -lnsl -lw||" \
|
|
-e "s| -Xc||" \
|
|
-e "s|/usr/include/sys/feature_tests.h||" \
|
|
-e "s|/usr/tmp|/tmp|g" \
|
|
-e 's|/usr/ucb/install|$${BSD_INSTALL}|' \
|
|
-e "s|/usr/local|${PREFIX}|g" \
|
|
-e "s|/usr/local/man|${PREFIX}/man|" ;\
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|