mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
819f25b36d
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"). Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter for the bash package in any version. But that pattern is functionally identical with just "bash". Approved by: portmgr (blanket)
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: Michael L. Hostbaek (mich@freebsdcluster.org)
|
|
|
|
PORTNAME= vcp
|
|
PORTVERSION= 2.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://freebsdcluster.org/~mich/software/
|
|
|
|
MAINTAINER= mich@FreeBSD.org
|
|
COMMENT= Copy files in curses interface
|
|
|
|
BROKEN_FreeBSD_13= ld: error: duplicate symbol: logw
|
|
BROKEN_FreeBSD_14= ld: error: duplicate symbol: logw
|
|
|
|
CONFLICTS= p5-VCP \
|
|
p5-VCP-autrijus
|
|
|
|
USES= ncurses
|
|
LDFLAGS+= -lncurses
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
pre-build:
|
|
@${REINPLACE_CMD} -e 's|/etc/vcp.conf|${PREFIX}/etc/vcp.conf|' ${WRKSRC}/misc.c
|
|
@${REINPLACE_CMD} -e 's|/etc/vcp.conf|${PREFIX}/etc/vcp.conf|g' ${WRKSRC}/vcp.1
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} ${CFLAGS} -c main.c && \
|
|
${CC} ${CFLAGS} -c copyall.c && \
|
|
${CC} ${CFLAGS} -c copy.c && \
|
|
${CC} ${CFLAGS} -c screen.c && \
|
|
${CC} ${CFLAGS} -c log.c && \
|
|
${CC} ${CFLAGS} -c path.c && \
|
|
${CC} ${CFLAGS} -c misc.c && \
|
|
${CC} ${CFLAGS} -c color.c && \
|
|
${CC} ${CFLAGS} -o ${PORTNAME} main.o copyall.o copy.o screen.o log.o path.o misc.o color.o ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/vcp.conf.sample ${STAGEDIR}${PREFIX}/etc
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|