mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Stage support
This commit is contained in:
parent
f96450acf3
commit
f86ff1a520
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347546
@ -15,29 +15,30 @@ USE_GHOSTSCRIPT_RUN= yes
|
||||
MAKE_ENV= GSPATH="${LOCALBASE}/bin/gs" GZPATH="/usr/bin/gzip" \
|
||||
ETC="${PREFIX}/etc"
|
||||
|
||||
MAN1= peps.1
|
||||
PORTDOCS= peps.pdf
|
||||
PLIST_FILES= bin/peps \
|
||||
etc/peps.mime
|
||||
etc/peps.mime \
|
||||
man/man1/peps.1.gz
|
||||
PORTDOCS= peps.pdf
|
||||
|
||||
OPTIONS_DEFINE= DOCS X11
|
||||
OPTIONS_DEFAULT= X11
|
||||
|
||||
.if defined(WITHOUT_X11)
|
||||
X11_PLIST_FILES= bin/xpeps
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ! ${PORT_OPTIONS:MX11}
|
||||
ALL_TARGET= peps
|
||||
.else
|
||||
PLIST_FILES+= bin/xpeps
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/peps ${PREFIX}/bin
|
||||
.if !defined(WITHOUT_X11)
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${PREFIX}/bin
|
||||
.endif
|
||||
${INSTALL_MAN} ${WRKSRC}/peps.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/peps.mime ${PREFIX}/etc
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/peps.pdf ${DOCSDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/peps ${STAGEDIR}${PREFIX}/bin
|
||||
.if ${PORT_OPTIONS:MX11}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xpeps ${STAGEDIR}${PREFIX}/bin
|
||||
.endif
|
||||
${INSTALL_MAN} ${WRKSRC}/peps.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/peps.mime ${STAGEDIR}${PREFIX}/etc
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/peps.pdf ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user