- Respect NOPORTDATA [1]

- Remove 5.x support

Reported by:	QA Tindy Curse [1]
This commit is contained in:
Pietro Cerutti 2008-07-03 22:11:38 +00:00
parent 854dfbdf2e
commit e4f271edfe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216266

View file

@ -26,17 +26,19 @@ PLIST_FILES+= bin/le
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 502010
GNU_REGEX_H= gnu/regex.h
.else
GNU_REGEX_H= gnuregex.h
.endif
post-patch:
@${REINPLACE_CMD} -e 's|@LIBOBJS@||g ; \
s|@ALLOCA@||g' ${WRKSRC}/lib/Makefile.in
@${REINPLACE_CMD} -e 's|<regex.h>|<${GNU_REGEX_H}>|g' \
${WRKSRC}/src/highli.h
.if defined(NOPORTDATA)
@${REINPLACE_CMD} -e 's|misc||g' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|le.hlp||g;468s|install-pkgdataDATA||' \
${WRKSRC}/src/Makefile.in
.endif
post-install:
.if !defined(NOPORTDOCS)