View | Details | Raw Unified | Return to bug 97219
Collapse All | Expand All

(-)sysutils/cdrtools-devel/Makefile (-4 / +2 lines)
Lines 36-42 Link Here
36
USE_GMAKE=	yes
36
USE_GMAKE=	yes
37
#CFLAGS+=	-DSOURCE_MODIFIED
37
#CFLAGS+=	-DSOURCE_MODIFIED
38
WRKSRC=		${WRKDIR}/${DISTNAME:C/a(.+)$//}
38
WRKSRC=		${WRKDIR}/${DISTNAME:C/a(.+)$//}
39
PKGMESSAGE=	${WRKDIR}/pkg-message
39
SUB_FILES=	pkg-message
40
40
41
.if defined(WITH_RSCSI)
41
.if defined(WITH_RSCSI)
42
PKGINSTALL=	${PKGDIR}/pkg-install.rscsi
42
PKGINSTALL=	${PKGDIR}/pkg-install.rscsi
Lines 106-113 Link Here
106
#	@${REINPLACE_CMD} -E -e \
106
#	@${REINPLACE_CMD} -E -e \
107
#		's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
107
#		's|#define.+INSERT_YOUR_EMAIL_ADDRESS_HERE|& "${MAINTAINER}"|' \
108
#		${WRKSRC}/cdrecord/cdrecord.c
108
#		${WRKSRC}/cdrecord/cdrecord.c
109
	@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > \
110
		${WRKDIR}/pkg-message
111
109
112
do-install:
110
do-install:
113
	@${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \
111
	@${INSTALL_PROGRAM} ${WRKSRC}/btcflash/OBJ/${CDRTLSTARGET}/btcflash \
Lines 169-174 Link Here
169
post-install:
167
post-install:
170
	-@if [ -f ${PKGINSTALL} ]; then ${SETENV} PKG_PREFIX=${PREFIX} \
168
	-@if [ -f ${PKGINSTALL} ]; then ${SETENV} PKG_PREFIX=${PREFIX} \
171
		${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL; fi
169
		${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL; fi
172
	@${CAT} ${WRKDIR}/pkg-message
170
	@${CAT} ${PKGMESSAGE}
173
171
174
.include <bsd.port.post.mk>
172
.include <bsd.port.post.mk>
(-)sysutils/cdrtools-devel/files/pkg-message.in (+13 lines)
Line 0 Link Here
1
===========================================================================
2
3
Note: The location of the cdrtools `defaults' files has been set to
4
5
	%%PREFIX%%/etc
6
7
This is the FreeBSD ports standard config file location, NOT the cdrtools
8
standard location, which is /etc/default.
9
10
The reason for this is that FreeBSD ports and packages should not use
11
configuration files outside of %%PREFIX%%.
12
13
===========================================================================
(-)sysutils/cdrtools-devel/pkg-message (-13 lines)
Lines 1-13 Link Here
1
===========================================================================
2
3
Note: The location of the cdrtools `defaults' files has been set to
4
5
	%%PREFIX%%/etc
6
7
This is the FreeBSD ports standard config file location, NOT the cdrtools
8
standard location, which is /etc/default.
9
10
The reason for this is that FreeBSD ports and packages should not use
11
configuration files outside of %%PREFIX%%.
12
13
===========================================================================

Return to bug 97219