1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Switch to OptionsNG

- Trim header
This commit is contained in:
Dmitry Marakasov 2013-05-14 23:31:58 +00:00
parent 4ec321e1bb
commit 79b2d72429
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=318208

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: REminiscence
# Date created: 11 Feb 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= REminiscence
PORTVERSION= 0.2.1
@ -25,19 +21,17 @@ SUB_FILES= pkg-message
PORTDOCS= README
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|DATA|${DATADIR}/data|' ${WRKSRC}/main.cpp
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rs ${PREFIX}/bin/remin
${MKDIR} ${DATADIR}/data
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}