freebsd-ports/textproc/rtf2html/Makefile
Stefan Eßer 5933ac0b09 */*: Remove redundant '-[0-9]*' from CONFLICTS_INSTALL
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").

Approved by: portmgr (blanket)
2021-11-23 23:11:40 +01:00

26 lines
513 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
PORTNAME= rtf2html
DISTVERSION= 1.1b
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= LOCAL/ehaupt
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Simple rtf2html converter
LICENSE= BSD2CLAUSE
CONFLICTS_INSTALL= p5-RTF-Parser
PLIST_FILES= bin/rtf2html
WRKSRC= ${WRKDIR}/${PORTNAME}
do-build:
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>