1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Convert to staging

- Fix build with clang
- Rename patch files according to standard
- Convert to new LIB_DEPENDS format
This commit is contained in:
Guido Falsi 2013-10-17 12:00:16 +00:00
parent 9a026d6caf
commit 6d2f1d4a68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330632
5 changed files with 13 additions and 8 deletions

View File

@ -12,17 +12,11 @@ DISTNAME= WorkMan-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Open Look-based CD player tool
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
LIB_DEPENDS= libxview.so:${PORTSDIR}/x11-toolkits/xview
WRKSRC= ${WRKDIR}/workman
USES= imake
NO_STAGE= yes
USE_XORG= x11 xext
MAN1= workman.1
MAN5= workmandb.5
PLIST_FILES= bin/workman lib/help/workman.info
post-install:
${GZIP_CMD} ${PREFIX}/man/man5/workmandb.5
PLIST_FILES= bin/workman lib/help/workman.info man/man1/workman.1.gz man/man5/workmandb.5.gz
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- cdrom.c.orig 1997-06-15 10:05:03.000000000 +0200
+++ cdrom.c 2013-10-16 13:14:49.440566031 +0200
@@ -531,7 +531,7 @@
int top = 0, bottom, current, interval, ret = 0, i;
if (cur_cdmode == EJECTED || cd == NULL)
- return;
+ return (0);
for (i = 0; i < cur_ntracks; i++)
if (cd->trk[i].track == track)