mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
c9aeee376d
Since pkg_deinstall(1) invokes the package deinstall script twice, at the second invocation X.bck is no longer there, and mv(1), even with the -f flag, returns a non-zero exit code. The shell executing the script propagates this exit code right back unto pkg_deinstall(1), which complains and aborts the package deinstallation. I wish I had not forgotten about this problem, so this could go in before DP1 was cut :( Approved by: no response from trevor@, the port maintainer
34 lines
660 B
Makefile
34 lines
660 B
Makefile
# New ports collection makefile for: wrapper
|
|
# Date created: 2000-09-18
|
|
# Whom: Trevor Johnson <trevor@jpj.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wrapper
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
|
|
|
RUN_DEPENDS= XFree86:${PORTSDIR}/x11-servers/XFree86-4-Server
|
|
|
|
NO_WRKSUBDIR= yes
|
|
PLIST= ${WRKDIR}/pkg-plist
|
|
USE_X_PREFIX= yes
|
|
|
|
do-fetch:
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -o ${WRKSRC}/Xwrapper-4 ${FILESDIR}/wrapper.c
|
|
|
|
pre-install:
|
|
${ECHO_CMD} bin/Xwrapper-4 > ${PLIST}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/Xwrapper-4 ${PREFIX}/bin
|
|
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|