diff options
author | edwin <edwin@FreeBSD.org> | 2006-04-01 21:23:43 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-04-01 21:23:43 +0800 |
commit | 6d976bdb11c9cde26c920768e90d872da1acd8ae (patch) | |
tree | 6e8d85aec66f38f35c2377a656c8554f0f214186 /misc/upclient | |
parent | c23d5b398c1549792bc164eb723af0cb410ffcb8 (diff) | |
download | freebsd-ports-gnome-6d976bdb11c9cde26c920768e90d872da1acd8ae.tar.gz freebsd-ports-gnome-6d976bdb11c9cde26c920768e90d872da1acd8ae.tar.zst freebsd-ports-gnome-6d976bdb11c9cde26c920768e90d872da1acd8ae.zip |
Use SUB_FILES for pkg-message
Diffstat (limited to 'misc/upclient')
-rw-r--r-- | misc/upclient/Makefile | 18 | ||||
-rw-r--r-- | misc/upclient/files/pkg-message.in (renamed from misc/upclient/pkg-message) | 0 | ||||
-rw-r--r-- | misc/upclient/files/upclient.sh.in (renamed from misc/upclient/files/upclient.sh) | 0 |
3 files changed, 3 insertions, 15 deletions
diff --git a/misc/upclient/Makefile b/misc/upclient/Makefile index 541ebeb011a8..94672d3a4f29 100644 --- a/misc/upclient/Makefile +++ b/misc/upclient/Makefile @@ -26,8 +26,8 @@ USE_RC_SUBR= yes ALL_TARGET= bsd BUILD_WRKSRC= ${WRKSRC}/src -MSG_FILE= ${PKGDIR}/pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message +PKGMESSAGE= ${WRKDIR}/pkg-message upclient.sh MAN8= upclient.8 @@ -35,8 +35,6 @@ MAN8= upclient.8 # REINPLACE_SUB= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} -RCSCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} -PKGMESSAGE_SUB= PREFIX=${PREFIX} DOC_FILES= AUTHORS COPYING FAQ HISTORY INSTALL README TODO DOC_FILES+= doc/UptimesProtocol5 @@ -55,21 +53,11 @@ rename-doc: # Post-patch # -post-patch: patch-inplace patch-startup patch-pkgmessage - -patch-inplace: +post-patch: @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ ${WRKSRC}/scripts/upchk ${WRKSRC}/scripts/clientchk \ ${WRKSRC}/src/Makefile -patch-startup: - @${SED} ${RCSCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${FILESDIR}/upclient.sh > ${WRKDIR}/upclient.sh - -patch-pkgmessage: - @${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - ${MSG_FILE} > ${PKGMESSAGE} - # Install # diff --git a/misc/upclient/pkg-message b/misc/upclient/files/pkg-message.in index f833be75f615..f833be75f615 100644 --- a/misc/upclient/pkg-message +++ b/misc/upclient/files/pkg-message.in diff --git a/misc/upclient/files/upclient.sh b/misc/upclient/files/upclient.sh.in index 07de990f6193..07de990f6193 100644 --- a/misc/upclient/files/upclient.sh +++ b/misc/upclient/files/upclient.sh.in |